DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Find Words That Can Be Formed by Characters

Find Words That Can Be Formed by Characters

2
Comments
1 min read
Distant Barcodes

Distant Barcodes

1
Comments
1 min read
Maximum Number of Coins You Can Get

Maximum Number of Coins You Can Get

1
Comments
2 min read
Find Palindrome With Fixed Length

Find Palindrome With Fixed Length

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

Construct Binary Tree from Preorder and Inorder Traversal

4
Comments
1 min read
Vowels of All Substrings

Vowels of All Substrings

2
Comments 3
1 min read
Arranging Coins

Arranging Coins

4
Comments
1 min read
Print Binary Tree

Print Binary Tree

4
Comments
2 min read
Predict the Winner

Predict the Winner

4
Comments
2 min read
Occurrences After Bigram

Occurrences After Bigram

4
Comments
1 min read
Employee Importance

Employee Importance

4
Comments
2 min read
Camelcase Matching

Camelcase Matching

4
Comments
2 min read
Diameter of Binary Tree

Diameter of Binary Tree

4
Comments
1 min read
Rotate Image

Rotate Image

4
Comments
1 min read
Largest Number After Digit Swaps by Parity

Largest Number After Digit Swaps by Parity

4
Comments
1 min read
Binary Tree Paths

Binary Tree Paths

1
Comments
1 min read
Reach a Number

Reach a Number

4
Comments
1 min read
Rearrange Characters to Make Target String

Rearrange Characters to Make Target String

4
Comments
2 min read
Text Justification

Text Justification

1
Comments
2 min read
Sender With Largest Word Count

Sender With Largest Word Count

4
Comments
2 min read
9 Things You Didn’t Know About Your Coding Interviewer

9 Things You Didn’t Know About Your Coding Interviewer

10
Comments 1
7 min read
4Sum

4Sum

5
Comments
1 min read
Island Perimeter

Island Perimeter

4
Comments
2 min read
Contiguous Array

Contiguous Array

4
Comments
1 min read
Numbers With Same Consecutive Differences

Numbers With Same Consecutive Differences

4
Comments
1 min read
Naming a Company

Naming a Company

4
Comments
2 min read
Minimum Difference Between Highest and Lowest of K Scores

Minimum Difference Between Highest and Lowest of K Scores

4
Comments
1 min read
Count Lattice Points Inside a Circle

Count Lattice Points Inside a Circle

5
Comments
2 min read
Find the Difference of Two Arrays

Find the Difference of Two Arrays

4
Comments
1 min read
Most Frequent Subtree Sum

Most Frequent Subtree Sum

3
Comments
1 min read
License Key Formatting

License Key Formatting

1
Comments
1 min read
Contains Duplicate II

Contains Duplicate II

4
Comments
1 min read
Sort Integers by The Power Value

Sort Integers by The Power Value

4
Comments
2 min read
Copy List with Random Pointer

Copy List with Random Pointer

3
Comments
2 min read
N-ary Tree Postorder Traversal

N-ary Tree Postorder Traversal

4
Comments
1 min read
Find the Town Judge

Find the Town Judge

4
Comments
1 min read
Uncommon Words from Two Sentences

Uncommon Words from Two Sentences

4
Comments
1 min read
Kth Largest Element in a Stream

Kth Largest Element in a Stream

4
Comments
1 min read
Merge Nodes in Between Zeros

Merge Nodes in Between Zeros

1
Comments
2 min read
Partitioning Into Minimum Number Of Deci-Binary Numbers

Partitioning Into Minimum Number Of Deci-Binary Numbers

1
Comments
1 min read
Power of Four

Power of Four

1
Comments
1 min read
Count and Say

Count and Say

1
Comments
1 min read
Pow(x, n)

Pow(x, n)

1
Comments
1 min read
Max Number of K-Sum Pairs

Max Number of K-Sum Pairs

1
Comments
1 min read
Find And Replace in String

Find And Replace in String

1
Comments
2 min read
Longest Univalue Path

Longest Univalue Path

1
Comments
1 min read
Cousins in Binary Tree

Cousins in Binary Tree

1
Comments
2 min read
Number of Islands

Number of Islands

1
Comments
1 min read
Walking Robot Simulation

Walking Robot Simulation

1
Comments
2 min read
Deepest Leaves Sum

Deepest Leaves Sum

Comments
1 min read
Fraction Addition and Subtraction

Fraction Addition and Subtraction

1
Comments
2 min read
Longest Consecutive Sequence

Longest Consecutive Sequence

1
Comments
1 min read
Reorganize String

Reorganize String

1
Comments
1 min read
Longest Word in Dictionary

Longest Word in Dictionary

1
Comments
1 min read
Minimum Deletions to Make Array Beautiful

Minimum Deletions to Make Array Beautiful

1
Comments
2 min read
Implement Trie (Prefix Tree)

Implement Trie (Prefix Tree)

1
Comments
2 min read
Count Number of Texts

Count Number of Texts

1
Comments
2 min read
Reverse Linked List

Reverse Linked List

1
Comments
1 min read
Divide a String Into Groups of Size k

Divide a String Into Groups of Size k

1
Comments
2 min read
Number of Recent Calls

Number of Recent Calls

1
Comments
1 min read
loading...