DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Leetcode Array Problem Solutions - Part 7 (Third Maximum Number)

Leetcode Array Problem Solutions - Part 7 (Third Maximum Number)

2
Comments
3 min read
Build Array from Permutation – Solution to LeetCode Problem

Build Array from Permutation – Solution to LeetCode Problem

23
Comments 4
3 min read
LeetCode 124. Binary Tree Maximum Path Sum

LeetCode 124. Binary Tree Maximum Path Sum

4
Comments
3 min read
LeetCode - Sort Colors

LeetCode - Sort Colors

6
Comments 1
4 min read
LeetCode - Valid Parentheses

LeetCode - Valid Parentheses

6
Comments
3 min read
Leetcode Array Problem Solutions (Remove Duplicates From Sorted Array)

Leetcode Array Problem Solutions (Remove Duplicates From Sorted Array)

5
Comments
3 min read
LeetCode - Rotate Image

LeetCode - Rotate Image

6
Comments
4 min read
What I Learned Solving A Leetcode Problem A Day For 45 Straight Days

What I Learned Solving A Leetcode Problem A Day For 45 Straight Days

3
Comments
3 min read
Two Sum

Two Sum

2
Comments
4 min read
Algorithm Tutorial: Max Area of an Island (DFS)

Algorithm Tutorial: Max Area of an Island (DFS)

18
Comments
6 min read
LeetCode - Find First and Last Position of Element in Sorted Array

LeetCode - Find First and Last Position of Element in Sorted Array

4
Comments 2
4 min read
Leetcode 11: Container With Most Water

Leetcode 11: Container With Most Water

5
Comments 1
3 min read
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
loading...