DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Solve Leetcode Problems and Get Offers From Your Dream Companies

Solve Leetcode Problems and Get Offers From Your Dream Companies

4
Comments
2 min read
Solution: Find Kth Largest XOR Coordinate Value

Solution: Find Kth Largest XOR Coordinate Value

6
Comments
5 min read
Solution: Simplify Path

Solution: Simplify Path

5
Comments
3 min read
872. Leaf-Similar Trees

872. Leaf-Similar Trees

4
Comments
1 min read
199. Binary Tree Right Side View

199. Binary Tree Right Side View

6
Comments
1 min read
Solution: Maximum Score From Removing Substrings (ver. 1)

Solution: Maximum Score From Removing Substrings (ver. 1)

7
Comments
4 min read
Solution: Minimum Operations to Make a Subsequence

Solution: Minimum Operations to Make a Subsequence

6
Comments
3 min read
Solution: Concatenation of Consecutive Binary Numbers

Solution: Concatenation of Consecutive Binary Numbers

5
Comments
2 min read
Solution: Is Graph Bipartite?

Solution: Is Graph Bipartite?

6
Comments 1
4 min read
Solution: Shortest Path in Binary Matrix

Solution: Shortest Path in Binary Matrix

11
Comments
5 min read
Solution: Number of Steps to Reduce a Number to Zero

Solution: Number of Steps to Reduce a Number to Zero

12
Comments 3
2 min read
543. Diameter of Binary Tree

543. Diameter of Binary Tree

5
Comments
1 min read
Solution: Valid Anagram

Solution: Valid Anagram

10
Comments 1
2 min read
Solution: Copy List with Random Pointer

Solution: Copy List with Random Pointer

8
Comments 1
3 min read
Solution: Convert BST to Greater Tree

Solution: Convert BST to Greater Tree

4
Comments
2 min read
Solution: Peeking Iterator

Solution: Peeking Iterator

5
Comments
3 min read
Solution: Shortest Distance to a Character

Solution: Shortest Distance to a Character

7
Comments
3 min read
Solution: Binary Tree Right Side View

Solution: Binary Tree Right Side View

6
Comments
2 min read
Solution: Decode XORed Permutation

Solution: Decode XORed Permutation

5
Comments
3 min read
Solution: Longest Harmonious Subsequence

Solution: Longest Harmonious Subsequence

4
Comments
2 min read
Solution: Next Permutation

Solution: Next Permutation

102
Comments
3 min read
Solution: Path With Minimum Effort

Solution: Path With Minimum Effort

5
Comments
4 min read
Solution: Linked List Cycle

Solution: Linked List Cycle

6
Comments
3 min read
Solution: Smallest String With A Given Numeric Value

Solution: Smallest String With A Given Numeric Value

5
Comments 2
3 min read
Solution: Trim a Binary Search Tree

Solution: Trim a Binary Search Tree

23
Comments
3 min read
loading...