DEV Community

loading...

# leetcode

đŸ‘‹ Sign in for the ability sort posts by top and latest.
LeetCode - Rotate Image

LeetCode - Rotate Image

Reactions 5 Comments
4 min read
Two Sum

Two Sum

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

Leetcode 11: Container With Most Water

Reactions 5 Comments
3 min read
LeetCode - Find First and Last Position of Element in Sorted Array

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

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

Algorithm Tutorial: Max Area of an Island (DFS)

Reactions 14 Comments
6 min read
LeetCode Sqrt(x)

LeetCode Sqrt(x)

Reactions 3 Comments
3 min read
LeetCode - Remove Duplicates from Sorted Array

LeetCode - Remove Duplicates from Sorted Array

Reactions 7 Comments
3 min read
LeetCode — Median of Two Sorted Arrays

LeetCode — Median of Two Sorted Arrays

Reactions 4 Comments
4 min read
LeetCode Remove Nth Node From End of List

LeetCode Remove Nth Node From End of List

Reactions 4 Comments
3 min read
Algorithm Tutorial: Champagne Tower Explanation

Algorithm Tutorial: Champagne Tower Explanation

Reactions 11 Comments
5 min read
LeetCode Roman to Integer

LeetCode Roman to Integer

Reactions 4 Comments
4 min read
LeetCode Container With Most Water

LeetCode Container With Most Water

Reactions 2 Comments
4 min read
LeetCode Palindrome Number

LeetCode Palindrome Number

Reactions 2 Comments
3 min read
984 : String Without AAA or BBB - Leetcode Medium

984 : String Without AAA or BBB - Leetcode Medium

Reactions 2 Comments
2 min read
Leetcode in JS: Matrix Zeros

Leetcode in JS: Matrix Zeros

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

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

Reactions 6 Comments
3 min read
Logic Explained: Meeting Scheduler - Leetcode [Java] using Two Pointers

Logic Explained: Meeting Scheduler - Leetcode [Java] using Two Pointers

Reactions 6 Comments
3 min read
Solving the 'Broken Calculator' problem the hard way

Solving the 'Broken Calculator' problem the hard way

Reactions 5 Comments
11 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

Reactions 2 Comments
3 min read
Solution: Valid Anagram

Solution: Valid Anagram

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

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

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

I will have the last word.

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

Leetcode 322: Coin Change [Solution]

Reactions 6 Comments
7 min read
Leetcode 12: Integer to Roman [Solution]

Leetcode 12: Integer to Roman [Solution]

Reactions 6 Comments
4 min read
Leetcode 623: Add One Row to Tree [Solution]

Leetcode 623: Add One Row to Tree [Solution]

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

Solution: Count Ways to Make Array With Product

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

Leetcode 1332: Remove Palindromic Subsequences [Solution]

Reactions 5 Comments
3 min read
Solution: Vertical Order Traversal of a Binary Tree

Solution: Vertical Order Traversal of a Binary Tree

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

Solution: Smallest String With A Given Numeric Value

Reactions 2 Comments 2
3 min read
LeetCode: pathSum

LeetCode: pathSum

Reactions 7 Comments
2 min read
LeetCode Two Sum

LeetCode Two Sum

Reactions 6 Comments 1
2 min read
Solution: Building Boxes

Solution: Building Boxes

Reactions 4 Comments
3 min read
Solution: Decode XORed Permutation

Solution: Decode XORed Permutation

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

210. Course Schedule II (javascript solution)

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

207. Course Schedule (javascript solution)

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

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

Reactions 6 Comments
4 min read
Solution: Copy List with Random Pointer

Solution: Copy List with Random Pointer

Reactions 6 Comments
3 min read
Solution: Convert BST to Greater Tree

Solution: Convert BST to Greater Tree

Reactions 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

Reactions 4 Comments
2 min read
Solution: Peeking Iterator

Solution: Peeking Iterator

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

Solution: Find Kth Largest XOR Coordinate Value

Reactions 6 Comments
5 min read
Solution: Binary Tree Right Side View

Solution: Binary Tree Right Side View

Reactions 6 Comments
2 min read
Solution: Simplify Path

Solution: Simplify Path

Reactions 5 Comments
3 min read
872. Leaf-Similar Trees

872. Leaf-Similar Trees

Reactions 4 Comments
1 min read
Solution: Longest Harmonious Subsequence

Solution: Longest Harmonious Subsequence

Reactions 4 Comments
2 min read
199. Binary Tree Right Side View

199. Binary Tree Right Side View

Reactions 6 Comments
1 min read
Solution: Minimum Operations to Make a Subsequence

Solution: Minimum Operations to Make a Subsequence

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

Solution: Concatenation of Consecutive Binary Numbers

Reactions 5 Comments
2 min read
Solution: Is Graph Bipartite?

Solution: Is Graph Bipartite?

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

Solution: Shortest Path in Binary Matrix

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

Solution: Number of Steps to Reduce a Number to Zero

Reactions 5 Comments 3
2 min read
543. Diameter of Binary Tree

543. Diameter of Binary Tree

Reactions 4 Comments
1 min read
Solution: Shortest Distance to a Character

Solution: Shortest Distance to a Character

Reactions 6 Comments
3 min read
Solution: Next Permutation

Solution: Next Permutation

Reactions 82 Comments
3 min read
Solution: Path With Minimum Effort

Solution: Path With Minimum Effort

Reactions 5 Comments
4 min read
Solution: Linked List Cycle

Solution: Linked List Cycle

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

Solution: Trim a Binary Search Tree

Reactions 15 Comments
3 min read
Solution: Minimize Deviation in Array

Solution: Minimize Deviation in Array

Reactions 5 Comments 2
4 min read
Day 31 - Next Permutation

Day 31 - Next Permutation

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

Day 29 - Vertical Order Traversal of a Binary Tree

Reactions 5 Comments
2 min read
loading...
Forem Open with the Forem app