DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
34. Find First and Last Position of Element in Sorted Array

34. Find First and Last Position of Element in Sorted Array

Comments
1 min read
144. Binary Tree Preorder Traversal

144. Binary Tree Preorder Traversal

Comments
1 min read
654. Maximum Binary Tree

654. Maximum Binary Tree

1
Comments
2 min read
110. Balanced Binary Tree

110. Balanced Binary Tree

Comments
1 min read
149. Max Points on a Line

149. Max Points on a Line

2
Comments
1 min read
383. Ransom Note

383. Ransom Note

1
Comments
1 min read
11. Container With Most Water

11. Container With Most Water

Comments
2 min read
1833. Maximum Ice Cream Bars

1833. Maximum Ice Cream Bars

1
Comments
2 min read
169. Majority Element

169. Majority Element

1
Comments
2 min read
452. Minimum Number of Arrows to Burst Balloons

452. Minimum Number of Arrows to Burst Balloons

2
Comments
2 min read
Leetcode question 58 Length of Last Word js solution

Leetcode question 58 Length of Last Word js solution

3
Comments
2 min read
Minimum Number of Arrows to Burst Balloons

Minimum Number of Arrows to Burst Balloons

Comments
1 min read
2244. Minimum Rounds to Complete All Tasks

2244. Minimum Rounds to Complete All Tasks

Comments
2 min read
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

4
Comments
2 min read
Number of Closed Islands

Number of Closed Islands

Comments
1 min read
Number of Enclaves

Number of Enclaves

1
Comments
1 min read
#7: Reverse Integer

#7: Reverse Integer

2
Comments
3 min read
#1: Two Sum

#1: Two Sum

3
Comments 1
2 min read
Shortest Path In DAG

Shortest Path In DAG

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
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 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

6
Comments
3 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

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
Best LeetCode extensions for productivity

Best LeetCode extensions for productivity

6
Comments 1
2 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
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
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
Word Ladder

Word Ladder

2
Comments
1 min read
Find Median from Data Stream

Find Median from Data Stream

4
Comments
1 min read
Sum of Root To Leaf Binary Numbers

Sum of Root To Leaf Binary Numbers

1
Comments
1 min read
Reverse String | LeetCode | Python

Reverse String | LeetCode | Python

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

Maximize Sum Of Array After K Negations

2
Comments
1 min read
Minimum Addition to Make Integer Beautiful

Minimum Addition to Make Integer Beautiful

3
Comments
1 min read
Remove Letter To Equalize Frequency

Remove Letter To Equalize Frequency

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
Majority Element (Leetcode)

Majority Element (Leetcode)

Comments
3 min read
Find the Duplicate Number

Find the Duplicate Number

2
Comments
2 min read
Non-overlapping Intervals

Non-overlapping Intervals

2
Comments
1 min read
Partition Labels

Partition Labels

2
Comments
1 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
Find Intersection of Two Arrays

Find Intersection of Two Arrays

8
Comments 3
2 min read
Binary Search: Recursive and Iterative method

Binary Search: Recursive and Iterative method

Comments
1 min read
loading...