DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Check if Every Row and Column Contains All Numbers

Check if Every Row and Column Contains All Numbers

1
Comments
1 min read
Keep Multiplying Found Values by Two

Keep Multiplying Found Values by Two

1
Comments
1 min read
Find Resultant Array After Removing Anagrams

Find Resultant Array After Removing Anagrams

1
Comments
2 min read
Next Greater Element II

Next Greater Element II

1
Comments
1 min read
Find Largest Value in Each Tree Row

Find Largest Value in Each Tree Row

1
Comments
1 min read
Fruit Into Baskets

Fruit Into Baskets

4
Comments
2 min read
Valid Palindrome II

Valid Palindrome II

4
Comments
1 min read
Number Of Rectangles That Can Form The Largest Square

Number Of Rectangles That Can Form The Largest Square

4
Comments
1 min read
N-ary Tree Level Order Traversal

N-ary Tree Level Order Traversal

4
Comments
1 min read
Binary Search

Binary Search

4
Comments
1 min read
Multiply Strings

Multiply Strings

4
Comments
1 min read
Contains Duplicate III

Contains Duplicate III

4
Comments
1 min read
To Lower Case

To Lower Case

4
Comments
1 min read
Bitwise AND of Numbers Range

Bitwise AND of Numbers Range

4
Comments
1 min read
Sort Even and Odd Indices Independently

Sort Even and Odd Indices Independently

1
Comments
2 min read
Lowest Common Ancestor of Deepest Leaves

Lowest Common Ancestor of Deepest Leaves

1
Comments
2 min read
Ugly Number

Ugly Number

1
Comments
1 min read
Maximize Number of Subsequences in a String

Maximize Number of Subsequences in a String

1
Comments
2 min read
Unique Binary Search Trees II

Unique Binary Search Trees II

1
Comments
1 min read
Sum Root to Leaf Numbers

Sum Root to Leaf Numbers

1
Comments
2 min read
Minimum Cost For Tickets

Minimum Cost For Tickets

1
Comments
2 min read
Construct K Palindrome Strings

Construct K Palindrome Strings

1
Comments
1 min read
Maximum Gap

Maximum Gap

1
Comments
1 min read
Reconstruct a 2-Row Binary Matrix

Reconstruct a 2-Row Binary Matrix

4
Comments
2 min read
Maximum Product Difference Between Two Pairs

Maximum Product Difference Between Two Pairs

4
Comments
1 min read
Minimum Time to Type Word Using Special Typewriter

Minimum Time to Type Word Using Special Typewriter

2
Comments
2 min read
Shift 2D Grid

Shift 2D Grid

1
Comments
1 min read
Integer Break

Integer Break

Comments
1 min read
Longest Increasing Path in a Matrix

Longest Increasing Path in a Matrix

Comments
2 min read
Regular Expression Matching

Regular Expression Matching

Comments
2 min read
Add Strings

Add Strings

3
Comments
1 min read
Maximum XOR of Two Numbers in an Array

Maximum XOR of Two Numbers in an Array

3
Comments
1 min read
The K Weakest Rows in a Matrix

The K Weakest Rows in a Matrix

3
Comments
2 min read
Unique Email Addresses

Unique Email Addresses

3
Comments
2 min read
Percentage of Letter in String

Percentage of Letter in String

3
Comments 1
1 min read
Sum of Nodes with Even-Valued Grandparent

Sum of Nodes with Even-Valued Grandparent

3
Comments
1 min read
Design Parking System

Design Parking System

3
Comments 1
2 min read
Heaters

Heaters

3
Comments
1 min read
Find All Lonely Numbers in the Array

Find All Lonely Numbers in the Array

4
Comments
1 min read
Find All Duplicates in an Array

Find All Duplicates in an Array

3
Comments
1 min read
Counting Bits

Counting Bits

3
Comments
1 min read
Sudoku Solver

Sudoku Solver

3
Comments
2 min read
Single Element in a Sorted Array

Single Element in a Sorted Array

3
Comments
1 min read
Two Out of Three

Two Out of Three

3
Comments
1 min read
Plus One

Plus One

3
Comments
1 min read
Permutations II

Permutations II

3
Comments
1 min read
Subsets II

Subsets II

Comments
1 min read
Calculate Amount Paid in Taxes

Calculate Amount Paid in Taxes

3
Comments
2 min read
Subtract the Product and Sum of Digits of an Integer

Subtract the Product and Sum of Digits of an Integer

3
Comments
1 min read
Maximum Bags With Full Capacity of Rocks

Maximum Bags With Full Capacity of Rocks

3
Comments
2 min read
Find the Middle Index in Array

Find the Middle Index in Array

3
Comments
1 min read
Unique Paths III

Unique Paths III

Comments
2 min read
Minimum Index Sum of Two Lists

Minimum Index Sum of Two Lists

1
Comments
1 min read
Rank Transform of an Array

Rank Transform of an Array

1
Comments
1 min read
Construct Binary Tree from Preorder and Postorder Traversal

Construct Binary Tree from Preorder and Postorder Traversal

1
Comments
2 min read
Count Number of Teams

Count Number of Teams

1
Comments
1 min read
Teemo Attacking

Teemo Attacking

1
Comments
2 min read
Minimum Operations to Convert Number

Minimum Operations to Convert Number

Comments
2 min read
Majority Element

Majority Element

4
Comments
1 min read
Find Words That Can Be Formed by Characters

Find Words That Can Be Formed by Characters

2
Comments
1 min read
loading...