DEV Community

loading...

# leetcode

👋 Sign in for the ability sort posts by top and latest.
Leetcode 1332: Remove Palindromic Subsequences

Leetcode 1332: Remove Palindromic Subsequences

Reactions 1 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
LeetCode: pathSum

LeetCode: pathSum

Reactions 7 Comments
2 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
210. Course Schedule II (javascript solution)

210. Course Schedule II (javascript solution)

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

207. Course Schedule (javascript solution)

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

Solution: Count Ways to Make Array With Product

Reactions 3 Comments
5 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
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
LeetCode Two Sum

LeetCode Two Sum

Reactions 6 Comments
2 min read
872. Leaf-Similar Trees

872. Leaf-Similar Trees

Reactions 3 Comments
1 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
199. Binary Tree Right Side View

199. Binary Tree Right Side View

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

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

Reactions 6 Comments
4 min read
543. Diameter of Binary Tree

543. Diameter of Binary Tree

Reactions 3 Comments
1 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
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
Solution: Longest Harmonious Subsequence

Solution: Longest Harmonious Subsequence

Reactions 4 Comments
2 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
2 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: Minimize Deviation in Array

Solution: Minimize Deviation in Array

Reactions 5 Comments 2
4 min read
Solution: Next Permutation

Solution: Next Permutation

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

Solution: Trim a Binary Search Tree

Reactions 6 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
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
Leetcode Two Sum - Solution & Video Explaination

Leetcode Two Sum - Solution & Video Explaination

Reactions 6 Comments
1 min read
Hi Dev Community, I started learning Data Structure & Algorithms on LeetCode using JavaScripts.

Hi Dev Community, I started learning Data Structure & Algorithms on LeetCode using JavaScripts.

Reactions 2 Comments
1 min read
The Valid Parenthesis Problem in Go

The Valid Parenthesis Problem in Go

Reactions 6 Comments
3 min read
Leetcode Problem 260: Single Number III

Leetcode Problem 260: Single Number III

Reactions 6 Comments
2 min read
LeetCode Problems 11-20

LeetCode Problems 11-20

Reactions 8 Comments 1
1 min read
LeetCode Problems 1-10

LeetCode Problems 1-10

Reactions 29 Comments 3
2 min read
Leetcode #1 Two Sum with JavaScript (Naive Solution)

Leetcode #1 Two Sum with JavaScript (Naive Solution)

Reactions 2 Comments
1 min read
Leetcode #387 First Unique Character in a String with Swift and HashTable

Leetcode #387 First Unique Character in a String with Swift and HashTable

Reactions 4 Comments
1 min read
loading...