DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
552. Student Attendance Record II

552. Student Attendance Record II

1
Comments
3 min read
Solving a Leetcode problem daily — Day 11 | Find Minimum in Rotated Sorted Array

Solving a Leetcode problem daily — Day 11 | Find Minimum in Rotated Sorted Array

1
Comments
7 min read
Sum Root to Leaf Numbers | LeetCode | Java

Sum Root to Leaf Numbers | LeetCode | Java

3
Comments
1 min read
140. Word Break II

140. Word Break II

Comments
2 min read
1255. Maximum Score Words Formed by Letters

1255. Maximum Score Words Formed by Letters

Comments
2 min read
2597. The Number of Beautiful Subsets

2597. The Number of Beautiful Subsets

1
Comments
2 min read
58. Length of Last Word

58. Length of Last Word

Comments
1 min read
131. Palindrome Partitioning

131. Palindrome Partitioning

Comments
2 min read
78. Subsets

78. Subsets

Comments
1 min read
#129. Sum Root to Leaf Numbers

#129. Sum Root to Leaf Numbers

Comments
1 min read
#623. Add One Row to Tree

#623. Add One Row to Tree

Comments
1 min read
1863. Sum of All Subset XOR Totals

1863. Sum of All Subset XOR Totals

Comments
2 min read
3068. Find the Maximum Sum of Node Values

3068. Find the Maximum Sum of Node Values

2
Comments 1
3 min read
Solving a Leetcode problem daily — Day 12 | 347. Top K frequent elements

Solving a Leetcode problem daily — Day 12 | 347. Top K frequent elements

Comments
7 min read
979. Distribute Coins in Binary Tree

979. Distribute Coins in Binary Tree

Comments
2 min read
Solving a Leetcode problem daily — Day 8 | Sqrt(x)

Solving a Leetcode problem daily — Day 8 | Sqrt(x)

1
Comments
7 min read
How to Determine if an Integer is a Palindrome on LeetCode

How to Determine if an Integer is a Palindrome on LeetCode

1
Comments
2 min read
1325. Delete Leaves With a Given Value

1325. Delete Leaves With a Given Value

Comments
2 min read
404. Sum of Left Leaves

404. Sum of Left Leaves

Comments
1 min read
2331. Evaluate Boolean Binary Tree

2331. Evaluate Boolean Binary Tree

1
Comments
2 min read
Find First and Last Position of Element in Sorted Array | LeetCode | Java

Find First and Last Position of Element in Sorted Array | LeetCode | Java

7
Comments 1
1 min read
2812. Find the Safest Path in a Grid

2812. Find the Safest Path in a Grid

1
Comments
3 min read
1219. Path with Maximum Gold

1219. Path with Maximum Gold

Comments
2 min read
861. Score After Flipping Matrix

861. Score After Flipping Matrix

Comments
3 min read
2373. Largest Local Values in a Matrix

2373. Largest Local Values in a Matrix

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

17. Letter Combinations of a Phone Number

Comments
1 min read
857. Minimum Cost to Hire K Workers

857. Minimum Cost to Hire K Workers

Comments
4 min read
4. Median of Two Sorted Arrays

4. Median of Two Sorted Arrays

Comments
2 min read
Solving a Leetcode problem daily — Day 10 | Find first and last position in sorted array

Solving a Leetcode problem daily — Day 10 | Find first and last position in sorted array

1
Comments
6 min read
3123. Find Edges in Shortest Paths

3123. Find Edges in Shortest Paths

2
Comments
2 min read
3113. Find the Number of Subarrays Where Boundary Elements Are Maximum

3113. Find the Number of Subarrays Where Boundary Elements Are Maximum

Comments
3 min read
3121. Count the Number of Special Characters II

3121. Count the Number of Special Characters II

Comments
1 min read
2570. Merge Two 2D Arrays by Summing Values solution

2570. Merge Two 2D Arrays by Summing Values solution

Comments
2 min read
2530. Maximal Score After Applying K Operations

2530. Maximal Score After Applying K Operations

Comments
4 min read
3122. Minimum Number of Operations to Satisfy Conditions

3122. Minimum Number of Operations to Satisfy Conditions

Comments
2 min read
786. K-th Smallest Prime Fraction

786. K-th Smallest Prime Fraction

Comments
3 min read
3. Longest Substring Without Repeating Characters

3. Longest Substring Without Repeating Characters

1
Comments
3 min read
Successful Pairs of Spells and Potions | LeetCode | Java

Successful Pairs of Spells and Potions | LeetCode | Java

4
Comments
1 min read
3075. Maximize Happiness of Selected Children

3075. Maximize Happiness of Selected Children

1
Comments
2 min read
2. Add Two Numbers

2. Add Two Numbers

Comments
3 min read
Two sum problem solution in easy way [Day-03]

Two sum problem solution in easy way [Day-03]

Comments
2 min read
1. Two Sum

1. Two Sum

Comments
2 min read
506. Relative Ranks

506. Relative Ranks

Comments
3 min read
2816. Double a Number Represented as a Linked List

2816. Double a Number Represented as a Linked List

Comments
2 min read
445. Add Two Numbers II

445. Add Two Numbers II

Comments
3 min read
Find Peak Element | LeetCode | Java

Find Peak Element | LeetCode | Java

7
Comments 5
1 min read
2487. Remove Nodes From Linked List

2487. Remove Nodes From Linked List

Comments
1 min read
404. Sum of Left Leaves

404. Sum of Left Leaves

Comments
3 min read
85. Maximal Rectangle

85. Maximal Rectangle

1
Comments
3 min read
881. Boats to Save People

881. Boats to Save People

Comments
3 min read
237. Delete Node in a Linked List

237. Delete Node in a Linked List

Comments
3 min read
217. Contains Duplicate

217. Contains Duplicate

Comments
4 min read
402. Remove K Digits

402. Remove K Digits

Comments
3 min read
42. Trapping Rain Water

42. Trapping Rain Water

Comments
1 min read
165. Compare Version Numbers

165. Compare Version Numbers

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

2441. Largest Positive Integer That Exists With Its Negative

Comments
1 min read
205. Isomorphic Strings

205. Isomorphic Strings

Comments
2 min read
58. Length of Last Word

58. Length of Last Word

Comments
2 min read
Count Good Nodes in Binary Tree | LeetCode | Java

Count Good Nodes in Binary Tree | LeetCode | Java

5
Comments
1 min read
79. Word Search

79. Word Search

1
Comments
2 min read
loading...