DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Remove Duplicates from Sorted LinkedList

Remove Duplicates from Sorted LinkedList

4
Comments
1 min read
Cheapest Flights Within K Stops

Cheapest Flights Within K Stops

4
Comments 1
1 min read
Delete Nth Node From Last LinkedList

Delete Nth Node From Last LinkedList

1
Comments
1 min read
Smallest Number in Infinite Set

Smallest Number in Infinite Set

4
Comments
1 min read
Intersection of Two Linked Lists

Intersection of Two Linked Lists

6
Comments
1 min read
Detect Cycle LinkedList - II

Detect Cycle LinkedList - II

4
Comments
1 min read
Technical Interview - Code #007 - LeetCode #606. Construct String from Binary Tree

Technical Interview - Code #007 - LeetCode #606. Construct String from Binary Tree

Comments
1 min read
Detect Cycle LinkedList - I

Detect Cycle LinkedList - I

5
Comments 1
1 min read
Обход бинарного дерева

Обход бинарного дерева

34
Comments
1 min read
Construct String from Binary Tree

Construct String from Binary Tree

3
Comments
1 min read
Merge Two Sorted Linked List - I

Merge Two Sorted Linked List - I

3
Comments
1 min read
Verifying Valid Anagram

Verifying Valid Anagram

Comments
7 min read
Verify Path Sum

Verify Path Sum

Comments
4 min read
Binary Tree Pruning

Binary Tree Pruning

Comments
3 min read
Verify Contains Duplicate II

Verify Contains Duplicate II

Comments
5 min read
Verify Contains Duplicate I

Verify Contains Duplicate I

1
Comments
4 min read
Odd Even List - I

Odd Even List - I

Comments
1 min read
Odd Even List - Naive Approach

Odd Even List - Naive Approach

Comments
1 min read
An Iterative solution to Binary Tree Pre-Order Traversal in Python3

An Iterative solution to Binary Tree Pre-Order Traversal in Python3

3
Comments
2 min read
Reverse Doubly Linked List

Reverse Doubly Linked List

Comments
1 min read
Объединение интервалов

Объединение интервалов

58
Comments 2
1 min read
Reverse Singly Linked List

Reverse Singly Linked List

1
Comments
1 min read
Trapping Rainwater 🌊

Trapping Rainwater 🌊

Comments
3 min read
Subset vs Substring

Subset vs Substring

6
Comments 1
1 min read
Replace Elements with Greatest Element on Right Side

Replace Elements with Greatest Element on Right Side

3
Comments
1 min read
Valid Mountain Array

Valid Mountain Array

4
Comments
1 min read
Count Good Nodes in Binary Tree

Count Good Nodes in Binary Tree

3
Comments
1 min read
Слияние отсортированных массивов

Слияние отсортированных массивов

35
Comments 2
1 min read
Third Maximum Number

Third Maximum Number

5
Comments
1 min read
Restore IP Addresses

Restore IP Addresses

5
Comments
1 min read
Duplicate Zeros - I

Duplicate Zeros - I

Comments
1 min read
Reverse Words in a String III

Reverse Words in a String III

1
Comments 3
1 min read
Rotate Array - I

Rotate Array - I

Comments
1 min read
Move Zeroes

Move Zeroes

Comments
1 min read
Letter Combinations of a Phone Number

Letter Combinations of a Phone Number

3
Comments
1 min read
Minimum Size Subarray Sum

Minimum Size Subarray Sum

1
Comments
1 min read
Array Partition - I

Array Partition - I

Comments
1 min read
Reverse String - without reverse function

Reverse String - without reverse function

Comments
1 min read
Implement Trie

Implement Trie

3
Comments
1 min read
ELI5ing LeetCode : Minimum Size Subarray Sum

ELI5ing LeetCode : Minimum Size Subarray Sum

1
Comments
15 min read
Set Mismatch

Set Mismatch

3
Comments
1 min read
Merge Triplets to Form Target Triplet

Merge Triplets to Form Target Triplet

4
Comments
1 min read
Battleships in a Board Count

Battleships in a Board Count

3
Comments
1 min read
Min Cost Climbing Stairs

Min Cost Climbing Stairs

4
Comments
1 min read
Leetcode Solutions: Maximum Depth of Binary Tree

Leetcode Solutions: Maximum Depth of Binary Tree

3
Comments
1 min read
Get All Substrings

Get All Substrings

5
Comments
1 min read
LeetCode #206 Reverse Linked List

LeetCode #206 Reverse Linked List

1
Comments
2 min read
Can Construct

Can Construct

Comments
1 min read
Generate Paranthesis - I

Generate Paranthesis - I

4
Comments
1 min read
Find Duplicate Subtrees

Find Duplicate Subtrees

5
Comments
1 min read
Decode String - I

Decode String - I

1
Comments
1 min read
isPowerOfThree

isPowerOfThree

3
Comments
1 min read
Fizz-Buzz

Fizz-Buzz

1
Comments 1
1 min read
Two Sum - I

Two Sum - I

4
Comments
1 min read
Keyboard Row -

Keyboard Row -

1
Comments
1 min read
Reverse - Vowels

Reverse - Vowels

Comments
1 min read
Max Rotate Function

Max Rotate Function

Comments
1 min read
Number of Islands

Number of Islands

3
Comments
1 min read
Longest Palindrome

Longest Palindrome

4
Comments
1 min read
Check if Palindrome - String

Check if Palindrome - String

1
Comments
1 min read
loading...