DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Largest Combination With Bitwise AND Greater Than Zero

Largest Combination With Bitwise AND Greater Than Zero

4
Comments
1 min read
Count the Hidden Sequences

Count the Hidden Sequences

4
Comments
2 min read
Gray Code

Gray Code

4
Comments
1 min read
Transpose Matrix

Transpose Matrix

2
Comments
1 min read
Leaf-Similar Trees

Leaf-Similar Trees

3
Comments
1 min read
Maximum 69 Number

Maximum 69 Number

5
Comments
1 min read
Divide Array Into Equal Pairs

Divide Array Into Equal Pairs

3
Comments
1 min read
Maximal Square

Maximal Square

4
Comments
1 min read
Min Cost to Connect All Points

Min Cost to Connect All Points

4
Comments
2 min read
Sort Array By Parity

Sort Array By Parity

4
Comments
1 min read
Find Target Indices After Sorting Array

Find Target Indices After Sorting Array

5
Comments
1 min read
Minimum Number of Swaps to Make the String Balanced

Minimum Number of Swaps to Make the String Balanced

6
Comments 1
1 min read
Merge Two Binary Trees

Merge Two Binary Trees

4
Comments
2 min read
Most Common Word

Most Common Word

4
Comments
1 min read
Fibonacci Number

Fibonacci Number

4
Comments
1 min read
Design HashSet

Design HashSet

4
Comments
2 min read
Pascal's Triangle II

Pascal's Triangle II

5
Comments
1 min read
Search in a Binary Search Tree

Search in a Binary Search Tree

4
Comments
1 min read
Linked List Cycle II

Linked List Cycle II

3
Comments
2 min read
Evaluate Reverse Polish Notation

Evaluate Reverse Polish Notation

4
Comments
1 min read
2299. Strong Password Checker II

2299. Strong Password Checker II

8
Comments
1 min read
Construct Binary Tree from Inorder and Postorder Traversal

Construct Binary Tree from Inorder and Postorder Traversal

4
Comments
1 min read
H-Index II

H-Index II

4
Comments
1 min read
Sort Colors

Sort Colors

4
Comments
1 min read
Check If N and Its Double Exist

Check If N and Its Double Exist

4
Comments
1 min read
Concatenation of Array

Concatenation of Array

4
Comments
1 min read
Maximum Frequency Stack

Maximum Frequency Stack

4
Comments
2 min read
Successful Pairs of Spells and Potions

Successful Pairs of Spells and Potions

4
Comments
2 min read
Shuffle an Array

Shuffle an Array

4
Comments
1 min read
4Sum II

4Sum II

4
Comments
1 min read
Binary Gap

Binary Gap

4
Comments
1 min read
Missing Number

Missing Number

4
Comments
1 min read
Maximum Split of Positive Even Integers

Maximum Split of Positive Even Integers

4
Comments
2 min read
Kth Distinct String in an Array

Kth Distinct String in an Array

4
Comments
1 min read
Binary Search Tree to Greater Sum Tree

Binary Search Tree to Greater Sum Tree

4
Comments
1 min read
Remove Duplicates from Sorted List II

Remove Duplicates from Sorted List II

4
Comments
1 min read
Diagonal Traverse

Diagonal Traverse

4
Comments
1 min read
Maximum Path Quality of a Graph

Maximum Path Quality of a Graph

4
Comments
2 min read
132 Pattern

132 Pattern

4
Comments
2 min read
Squares of a Sorted Array

Squares of a Sorted Array

4
Comments
1 min read
Boats to Save People

Boats to Save People

4
Comments 1
1 min read
Rings and Rods

Rings and Rods

4
Comments
2 min read
Determine if String Halves Are Alike

Determine if String Halves Are Alike

4
Comments
1 min read
Average of Levels in Binary Tree

Average of Levels in Binary Tree

4
Comments
1 min read
Goat Latin

Goat Latin

4
Comments
2 min read
Maximum Product of Word Lengths

Maximum Product of Word Lengths

4
Comments
1 min read
Increasing Subsequences

Increasing Subsequences

4
Comments
1 min read
Maximum Length of Repeated Subarray

Maximum Length of Repeated Subarray

4
Comments
1 min read
Construct the Rectangle

Construct the Rectangle

4
Comments
1 min read
Longest Valid Parentheses

Longest Valid Parentheses

4
Comments
1 min read
Smallest Index With Equal Value

Smallest Index With Equal Value

4
Comments
1 min read
Clone Graph

Clone Graph

4
Comments
2 min read
Valid Square

Valid Square

4
Comments
2 min read
Sum of Left Leaves

Sum of Left Leaves

4
Comments
1 min read
1-bit and 2-bit Characters

1-bit and 2-bit Characters

2
Comments
1 min read
Zigzag Conversion

Zigzag Conversion

Comments
1 min read
Count Common Words With One Occurrence

Count Common Words With One Occurrence

Comments
1 min read
K Closest Points to Origin

K Closest Points to Origin

Comments
1 min read
Min Stack

Min Stack

Comments
2 min read
Longest Happy String

Longest Happy String

Comments
1 min read
loading...