DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
944. Delete Columns to make sorted

944. Delete Columns to make sorted

Comments
2 min read
#58: Length of Last Word

#58: Length of Last Word

3
Comments
2 min read
#7: Reverse Integer

#7: Reverse Integer

2
Comments
3 min read
#1: Two Sum

#1: Two Sum

2
Comments 1
2 min read
Shortest Path In DAG

Shortest Path In DAG

Comments
2 min read
Course Schedule I & II

Course Schedule I & II

Comments
2 min read
#45Days of LeetCode - Best time to buy and sell stock II - Day 2

#45Days of LeetCode - Best time to buy and sell stock II - Day 2

1
Comments
2 min read
LeetCode Daily Challenge: House Robber solution using dynamic programming

LeetCode Daily Challenge: House Robber solution using dynamic programming

1
Comments
2 min read
Search in Rotated Sorted Array II

Search in Rotated Sorted Array II

4
Comments
1 min read
Max Consecutive Ones III

Max Consecutive Ones III

2
Comments
1 min read
13. Roman to Integer - JavaScript Solution - by Abu Saleh Faysal

13. Roman to Integer - JavaScript Solution - by Abu Saleh Faysal

3
Comments
2 min read
Find Minimum in Rotated Sorted Array

Find Minimum in Rotated Sorted Array

4
Comments
1 min read
Find Minimum in Rotated Sorted Array II

Find Minimum in Rotated Sorted Array II

2
Comments
1 min read
Find Minimum in Rotated Sorted Array

Find Minimum in Rotated Sorted Array

4
Comments
1 min read
Search in Rotated Sorted Array

Search in Rotated Sorted Array

7
Comments
1 min read
Guess Number Higher or Lower

Guess Number Higher or Lower

5
Comments
1 min read
Find First and Last Position of Element in Sorted Array

Find First and Last Position of Element in Sorted Array

4
Comments 2
1 min read
Unique Number of Occurrences

Unique Number of Occurrences

5
Comments
1 min read
Element Appearing More Than 25% In Sorted Array

Element Appearing More Than 25% In Sorted Array

3
Comments
1 min read
Count 1's in a Sorted Binary Array

Count 1's in a Sorted Binary Array

5
Comments
1 min read
LeetCode solution: Determine if Two Strings Are Close

LeetCode solution: Determine if Two Strings Are Close

5
Comments
3 min read
Largest Positive Integer That Exists With Its Negative

Largest Positive Integer That Exists With Its Negative

3
Comments
1 min read
Minimum Index Sum of Two Lists

Minimum Index Sum of Two Lists

5
Comments
1 min read
9. Palindrome Number - JavaScript Solution - by Abu Saleh Faysal

9. Palindrome Number - JavaScript Solution - by Abu Saleh Faysal

6
Comments
1 min read
Maximum Width of Binary Tree - with null count

Maximum Width of Binary Tree - with null count

5
Comments
1 min read
Minimum Addition to Make Integer Beautiful

Minimum Addition to Make Integer Beautiful

3
Comments
1 min read
Max Area of Island

Max Area of Island

3
Comments
1 min read
1000X faster two sum leetcode solution

1000X faster two sum leetcode solution

36
Comments
9 min read
Count Complete Tree Nodes

Count Complete Tree Nodes

3
Comments
1 min read
Find The Smallest Positive Integer Not Occurring In An Array - 3 Approaches

Find The Smallest Positive Integer Not Occurring In An Array - 3 Approaches

24
Comments 13
3 min read
Minimum Cost of Buying Candies With Discount

Minimum Cost of Buying Candies With Discount

Comments
2 min read
Remove Digit From Number to Maximize Result

Remove Digit From Number to Maximize Result

Comments
1 min read
Best LeetCode extensions for productivity

Best LeetCode extensions for productivity

6
Comments 1
2 min read
Sum of Root To Leaf Binary Numbers

Sum of Root To Leaf Binary Numbers

1
Comments
1 min read
Reorder Data in Log Files

Reorder Data in Log Files

4
Comments
1 min read
Most Common Word

Most Common Word

2
Comments
1 min read
Minimum Hours of Training to Win a Competition

Minimum Hours of Training to Win a Competition

2
Comments
1 min read
Orderly Queue

Orderly Queue

2
Comments
1 min read
Solving problems with Binary Search algorithm

Solving problems with Binary Search algorithm

1
Comments
4 min read
Kth Largest Element in an Array

Kth Largest Element in an Array

2
Comments
1 min read
Last Stone Weight

Last Stone Weight

Comments
2 min read
Remove Duplicates from Sorted List

Remove Duplicates from Sorted List

3
Comments
1 min read
Even Odd Tree

Even Odd Tree

1
Comments
1 min read
Bottom view of Binary Tree

Bottom view of Binary Tree

Comments
1 min read
1. Two Sum - Leetcode - JavaScript Solution using HashMap - by Abu Saleh Faysal

1. Two Sum - Leetcode - JavaScript Solution using HashMap - by Abu Saleh Faysal

2
Comments
2 min read
Reverse Odd Levels of Binary Tree

Reverse Odd Levels of Binary Tree

2
Comments
1 min read
Binary Tree Right / left Side View

Binary Tree Right / left Side View

3
Comments
1 min read
Minimum Moves to Convert String

Minimum Moves to Convert String

2
Comments
1 min read
Word Ladder

Word Ladder

2
Comments
1 min read
Two Furthest Houses With Different Colors

Two Furthest Houses With Different Colors

2
Comments
2 min read
Find Median from Data Stream

Find Median from Data Stream

4
Comments
1 min read
Reverse String | LeetCode | Python

Reverse String | LeetCode | Python

1
Comments
1 min read
Maximize Sum Of Array After K Negations

Maximize Sum Of Array After K Negations

2
Comments
1 min read
Count Complete Tree Nodes

Count Complete Tree Nodes

3
Comments
1 min read
Lowest Common Ancestor of a Binary Search Tree

Lowest Common Ancestor of a Binary Search Tree

3
Comments
1 min read
LCA of Binary Tree

LCA of Binary Tree

3
Comments
1 min read
Diameter of Binary Tree

Diameter of Binary Tree

3
Comments
1 min read
Remove Letter To Equalize Frequency

Remove Letter To Equalize Frequency

2
Comments
1 min read
Majority Element (Leetcode)

Majority Element (Leetcode)

Comments
3 min read
Buy Maximum Items with Given Sum

Buy Maximum Items with Given Sum

Comments
1 min read
loading...