DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
LeetCode - Remove Duplicates from Sorted Array

LeetCode - Remove Duplicates from Sorted Array

6
Comments
3 min read
LeetCode — Median of Two Sorted Arrays

LeetCode — Median of Two Sorted Arrays

4
Comments
4 min read
Algorithm Tutorial: Champagne Tower Explanation

Algorithm Tutorial: Champagne Tower Explanation

14
Comments 1
5 min read
LeetCode Sqrt(x)

LeetCode Sqrt(x)

3
Comments
3 min read
LeetCode Remove Nth Node From End of List

LeetCode Remove Nth Node From End of List

4
Comments
3 min read
LeetCode Roman to Integer

LeetCode Roman to Integer

4
Comments
4 min read
984 : String Without AAA or BBB - Leetcode Medium

984 : String Without AAA or BBB - Leetcode Medium

4
Comments
2 min read
LeetCode Palindrome Number

LeetCode Palindrome Number

2
Comments
3 min read
Leetcode in JS: Matrix Zeros

Leetcode in JS: Matrix Zeros

10
Comments
7 min read
Logic Explained: Meeting Scheduler - Leetcode [Java] using Priority Queue

Logic Explained: Meeting Scheduler - Leetcode [Java] using Priority Queue

9
Comments
3 min read
Solve Leetcode Problems and Get Offers From Your Dream Companies||Maximum Points You Can Obtain from Cards

Solve Leetcode Problems and Get Offers From Your Dream Companies||Maximum Points You Can Obtain from Cards

2
Comments
3 min read
LeetCode 703: Kth Largest Element in a Stream (Python)

LeetCode 703: Kth Largest Element in a Stream (Python)

3
Comments
1 min read
I will have the last word.

I will have the last word.

6
Comments
3 min read
Leetcode 322: Coin Change [Solution]

Leetcode 322: Coin Change [Solution]

18
Comments 1
7 min read
Leetcode 12: Integer to Roman [Solution]

Leetcode 12: Integer to Roman [Solution]

9
Comments 3
4 min read
Leetcode 623: Add One Row to Tree [Solution]

Leetcode 623: Add One Row to Tree [Solution]

5
Comments 1
4 min read
Solution: Count Ways to Make Array With Product

Solution: Count Ways to Make Array With Product

3
Comments
5 min read
Leetcode 1332: Remove Palindromic Subsequences [Solution]

Leetcode 1332: Remove Palindromic Subsequences [Solution]

6
Comments 1
3 min read
LeetCode: pathSum

LeetCode: pathSum

8
Comments
2 min read
LeetCode Two Sum

LeetCode Two Sum

7
Comments 3
2 min read
Solving the 'Broken Calculator' problem the hard way

Solving the 'Broken Calculator' problem the hard way

6
Comments
11 min read
Solution: Building Boxes

Solution: Building Boxes

4
Comments
3 min read
210. Course Schedule II (javascript solution)

210. Course Schedule II (javascript solution)

6
Comments
1 min read
207. Course Schedule (javascript solution)

207. Course Schedule (javascript solution)

6
Comments
2 min read
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

11
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
Solution: Minimize Deviation in Array

Solution: Minimize Deviation in Array

6
Comments 2
4 min read
Solution: Vertical Order Traversal of a Binary Tree

Solution: Vertical Order Traversal of a Binary Tree

5
Comments
4 min read
Day 31 - Next Permutation

Day 31 - Next Permutation

5
Comments
1 min read
Day 29 - Vertical Order Traversal of a Binary Tree

Day 29 - Vertical Order Traversal of a Binary Tree

5
Comments
2 min read
Get started with using TypeScript and TDD to solve LeetCode problems in VS Code

Get started with using TypeScript and TDD to solve LeetCode problems in VS Code

16
Comments
11 min read
Leetcode 733. Flood Fill

Leetcode 733. Flood Fill

2
Comments
2 min read
Day 18 - Max Number of K-Sum Pairs

Day 18 - Max Number of K-Sum Pairs

4
Comments
2 min read
LeetCode with C# - Reverse A String

LeetCode with C# - Reverse A String

3
Comments 8
3 min read
Day 10 - Create Sorted Array through Instructions

Day 10 - Create Sorted Array through Instructions

5
Comments
4 min read
Day 9 - Word Ladder

Day 9 - Word Ladder

2
Comments
5 min read
Day 7 - Longest Substring Without Repeating Characters

Day 7 - Longest Substring Without Repeating Characters

5
Comments
2 min read
loading...