DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
974. Subarray Sums Divisible by K

974. Subarray Sums Divisible by K

Comments
1 min read
Robber I & II

Robber I & II

Comments
1 min read
LeetCode #141 Linked List Cycle with JavaScript

LeetCode #141 Linked List Cycle with JavaScript

Comments
1 min read
LeetCode #101 Symmetric Tree with JavaScript

LeetCode #101 Symmetric Tree with JavaScript

1
Comments
1 min read
Median of Two Sorted Arrays

Median of Two Sorted Arrays

Comments
2 min read
LeetCode #136 Single Number with JavaScript

LeetCode #136 Single Number with JavaScript

Comments
1 min read
LeetCode #121. Best Time to Buy and Sell Stock with JavaScript

LeetCode #121. Best Time to Buy and Sell Stock with JavaScript

Comments
1 min read
1519. Number of Nodes in the Sub-Tree With the Same Label

1519. Number of Nodes in the Sub-Tree With the Same Label

2
Comments 2
2 min read
Intersection of Two Arrays II || Leetcode Problem Solution

Intersection of Two Arrays II || Leetcode Problem Solution

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

Comments
1 min read
234. Palindrome Linked List

234. Palindrome Linked List

1
Comments
1 min read
M - Coloring / Flower Planting With No Adjacent

M - Coloring / Flower Planting With No Adjacent

1
Comments
1 min read
926. Flip String to Monotone Increasing

926. Flip String to Monotone Increasing

1
Comments
1 min read
787. Cheapest Flights Within K Stops

787. Cheapest Flights Within K Stops

Comments
2 min read
LeetCode #118 Pascal's Triangle with JavaScript

LeetCode #118 Pascal's Triangle with JavaScript

Comments
1 min read
Optimizing to find the top 3 numbers from an array

Optimizing to find the top 3 numbers from an array

Comments
1 min read
LeetCode #94 Binary Tree Inorder Traversal with JavaScript

LeetCode #94 Binary Tree Inorder Traversal with JavaScript

1
Comments
1 min read
Number of Closed Islands

Number of Closed Islands

Comments
1 min read
1443. Minimum Time to Collect All Apples in a Tree

1443. Minimum Time to Collect All Apples in a Tree

Comments
2 min read
Restore IP Address

Restore IP Address

Comments
1 min read
100. Same Tree

100. Same Tree

Comments
1 min read
14. Longest Common Prefix - JavaScript Solution - by Abu Saleh Faysal

14. Longest Common Prefix - JavaScript Solution - by Abu Saleh Faysal

Comments
2 min read
LeetCode #509 Fibonacci Number with JavaScript

LeetCode #509 Fibonacci Number with JavaScript

Comments
1 min read
144. Binary Tree Preorder Traversal

144. Binary Tree Preorder Traversal

1
Comments
2 min read
Subsequence-Get All Subsequnce + Get All strictly increasing Subsequnce

Subsequence-Get All Subsequnce + Get All strictly increasing Subsequnce

1
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
57. Insert Interval

57. Insert Interval

1
Comments
2 min read
LeetCode #35 Search Insert Position with JavaScript

LeetCode #35 Search Insert Position with JavaScript

Comments
1 min read
LeetCode #20 Valid Parentheses with JavaScript

LeetCode #20 Valid Parentheses with JavaScript

1
Comments
1 min read
2421. Number of Good Paths

2421. Number of Good Paths

Comments 1
3 min read
Palindrome Partitioning

Palindrome Partitioning

Comments
1 min read
455. Assign Cookies

455. Assign Cookies

Comments
2 min read
1061. Lexicographically Smallest Equivalent String

1061. Lexicographically Smallest Equivalent String

1
Comments
2 min read
Comparating Hash Tables, Two Pointers, and In-Place Algs for Removing Duplicates

Comparating Hash Tables, Two Pointers, and In-Place Algs for Removing Duplicates

2
Comments
2 min read
202. Happy Number

202. Happy Number

1
Comments
1 min read
263. Ugly Number

263. Ugly Number

1
Comments
1 min read
292. Nim Game

292. Nim Game

1
Comments
1 min read
599. Minimum Index Sum of Two Lists

599. Minimum Index Sum of Two Lists

1
Comments
2 min read
Longest Path With Different Adjacent Characters

Longest Path With Different Adjacent Characters

1
Comments
1 min read
2246. Longest Path With Different Adjacent Characters

2246. Longest Path With Different Adjacent Characters

1
Comments
2 min read
Cracking the Algorithm Interview

Cracking the Algorithm Interview

6
Comments
1 min read
LeetCode #9 Palindrome Number with JavaScript

LeetCode #9 Palindrome Number with JavaScript

2
Comments
1 min read
17. Letter Combinations of a Phone Number

17. Letter Combinations of a Phone Number

1
Comments
2 min read
290. Word Pattern Leetcode Problem of The Day- 01 Jan 2023

290. Word Pattern Leetcode Problem of The Day- 01 Jan 2023

Comments
2 min read
LeetCode #1 Two Sum with JavaScript

LeetCode #1 Two Sum with JavaScript

Comments
1 min read
Number of Enclaves

Number of Enclaves

1
Comments
1 min read
#217: Contains Duplicate

#217: Contains Duplicate

2
Comments
2 min read
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
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
Minimum Number of Arrows to Burst Balloons

Minimum Number of Arrows to Burst Balloons

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

Leetcode question 58 Length of Last Word js solution

2
Comments
2 min read
203. Remove Linked List Elements

203. Remove Linked List Elements

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

2244. Minimum Rounds to Complete All Tasks

Comments
2 min read
414. Third Maximum Number

414. Third Maximum Number

Comments
1 min read
loading...