DEV Community

loading...

# leetcode

đŸ‘‹ Sign in for the ability sort posts by top and latest.
Logic Explained: Meeting Scheduler - Leetcode [Java] using Two Pointers

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

Reactions 4 Comments
3 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
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
Solution: Shortest Path in Binary Matrix

Solution: Shortest Path in Binary Matrix

Reactions 8 Comments
5 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 5 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: Is Graph Bipartite?

Solution: Is Graph Bipartite?

Reactions 5 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: Decode XORed Permutation

Solution: Decode XORed Permutation

Reactions 4 Comments
3 min read
Solution: Building Boxes

Solution: Building Boxes

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 2 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: 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: 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: Next Permutation

Solution: Next Permutation

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

Solution: Minimize Deviation in Array

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

Solution: Trim a Binary Search Tree

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

Reactions 8 Comments
11 min read
Leetcode 733. Flood Fill

Leetcode 733. Flood Fill

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

Day 18 - Max Number of K-Sum Pairs

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

LeetCode with C# - Reverse A String

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

Day 10 - Create Sorted Array through Instructions

Reactions 5 Comments
4 min read
Day 9 - Word Ladder

Day 9 - Word Ladder

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

Day 7 - Longest Substring Without Repeating Characters

Reactions 4 Comments
2 min read
Day 5 - Remove Duplicates from Sorted List II

Day 5 - Remove Duplicates from Sorted List II

Reactions 4 Comments
3 min read
Reverse a Linked List - Leetcode

Reverse a Linked List - Leetcode

Reactions 7 Comments
1 min read
Day 3 - Beautiful Arrangement

Day 3 - Beautiful Arrangement

Reactions 3 Comments
2 min read
Day1 - Check Array Formation Through Concatenation

Day1 - Check Array Formation Through Concatenation

Reactions 7 Comments
2 min read
Leetcode Odd Even Linked List - Solution & Video Explaination

Leetcode Odd Even Linked List - Solution & Video Explaination

Reactions 7 Comments
1 min read
Leetcode #98 (validate binary search tree)

Leetcode #98 (validate binary search tree)

Reactions 5 Comments
3 min read
How I Solved: Open the Lock (LC #725)

How I Solved: Open the Lock (LC #725)

Reactions 8 Comments
4 min read
Leetcode Add Two Numbers - Solution & Video Explaination

Leetcode Add Two Numbers - Solution & Video Explaination

Reactions 6 Comments
1 min read
loading...