DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
LeetCode Challenge 13: Roman to Integer - JavaScript Solution 🚀

LeetCode Challenge 13: Roman to Integer - JavaScript Solution 🚀

5
Comments 1
2 min read
2415. Reverse Odd Levels of Binary Tree

2415. Reverse Odd Levels of Binary Tree

Comments
5 min read
769. Max Chunks To Make Sorted

769. Max Chunks To Make Sorted

Comments
3 min read
LeetCode Challenge: 42. Trapping Rain Water - JavaScript Solution 🚀

LeetCode Challenge: 42. Trapping Rain Water - JavaScript Solution 🚀

5
Comments 1
2 min read
1475. Final Prices With a Special Discount in a Shop

1475. Final Prices With a Special Discount in a Shop

Comments
4 min read
Leetcode — 3190. Find Minimum Operations to Make All Elements Divisible by Three

Leetcode — 3190. Find Minimum Operations to Make All Elements Divisible by Three

1
Comments
1 min read
3264. Final Array State After K Multiplication Operations I

3264. Final Array State After K Multiplication Operations I

Comments
3 min read
1792. Maximum Average Pass Ratio

1792. Maximum Average Pass Ratio

Comments
4 min read
2762. Continuous Subarrays

2762. Continuous Subarrays

Comments
3 min read
LeetCode Challenge: 135. Candy - JavaScript Solution 🍬

LeetCode Challenge: 135. Candy - JavaScript Solution 🍬

6
Comments 1
2 min read
LeetCode Challenge: 238. Product of Array Except Self - JavaScript Solution 🚀

LeetCode Challenge: 238. Product of Array Except Self - JavaScript Solution 🚀

7
Comments 1
2 min read
2558. Take Gifts From the Richest Pile

2558. Take Gifts From the Richest Pile

Comments
4 min read
Binary Search || Python || Data Structures and Algorithms

Binary Search || Python || Data Structures and Algorithms

Comments
4 min read
2779. Maximum Beauty of an Array After Applying Operation

2779. Maximum Beauty of an Array After Applying Operation

Comments
3 min read
Job Scheduling Problem with Max Profit

Job Scheduling Problem with Max Profit

Comments
1 min read
2981. Find Longest Special Substring That Occurs Thrice I

2981. Find Longest Special Substring That Occurs Thrice I

1
Comments
3 min read
1760. Minimum Limit of Balls in a Bag

1760. Minimum Limit of Balls in a Bag

Comments
4 min read
Minimum No. of arrows to burst balloons

Minimum No. of arrows to burst balloons

Comments
1 min read
Non overlapping intervals

Non overlapping intervals

Comments
1 min read
How a LeetCode Problem Exposed a Gap in My Knowledge and Helped Me Understand Static and Non-Static Variables

How a LeetCode Problem Exposed a Gap in My Knowledge and Helped Me Understand Static and Non-Static Variables

Comments
4 min read
2554. Maximum Number of Integers to Choose From a Range I

2554. Maximum Number of Integers to Choose From a Range I

Comments
5 min read
Leetcode — 2769. Find the Maximum Achievable Number

Leetcode — 2769. Find the Maximum Achievable Number

Comments
1 min read
2825. Make String a Subsequence Using Cyclic Increments

2825. Make String a Subsequence Using Cyclic Increments

Comments
3 min read
Minimum number of platforms required

Minimum number of platforms required

Comments
1 min read
LeetCode Challenge: 134. Gas Station - JavaScript Solution 🚀

LeetCode Challenge: 134. Gas Station - JavaScript Solution 🚀

5
Comments 1
2 min read
2182. Construct String With Repeat Limit

2182. Construct String With Repeat Limit

1
Comments
4 min read
2097. Valid Arrangement of Pairs

2097. Valid Arrangement of Pairs

Comments
4 min read
2290. Minimum Obstacle Removal to Reach Corner

2290. Minimum Obstacle Removal to Reach Corner

Comments
4 min read
3243. Shortest Distance After Road Addition Queries I

3243. Shortest Distance After Road Addition Queries I

Comments
5 min read
Stacks: 50 Leetcode Questions

Stacks: 50 Leetcode Questions

1
Comments
4 min read
LeetCode in Swift - 2924. Find Champion II (中文解釋)

LeetCode in Swift - 2924. Find Champion II (中文解釋)

1
Comments
1 min read
2924. Find Champion II

2924. Find Champion II

Comments
4 min read
3152. Special Array II

3152. Special Array II

Comments
4 min read
How to NOT Create Leetcode Challenges

How to NOT Create Leetcode Challenges

Comments
4 min read
Understanding K Element Patterns in LeetCode: The Basics (Part 1)

Understanding K Element Patterns in LeetCode: The Basics (Part 1)

Comments
3 min read
773. Sliding Puzzle

773. Sliding Puzzle

Comments
4 min read
LeetCode Challenge: 380. Insert Delete GetRandom O(1) - JavaScript Solution 🚀

LeetCode Challenge: 380. Insert Delete GetRandom O(1) - JavaScript Solution 🚀

10
Comments 2
3 min read
1072. Flip Columns For Maximum Number of Equal Rows

1072. Flip Columns For Maximum Number of Equal Rows

Comments
3 min read
The Gap That LeetCode's 30 Days of JavaScript Actually Fills

The Gap That LeetCode's 30 Days of JavaScript Actually Fills

1
Comments
9 min read
2257. Count Unguarded Cells in the Grid

2257. Count Unguarded Cells in the Grid

Comments
4 min read
2516. Take K of Each Character From Left and Right

2516. Take K of Each Character From Left and Right

Comments
4 min read
LeetCode Problem#03

LeetCode Problem#03

10
Comments
1 min read
2461. Maximum Sum of Distinct Subarrays With Length K

2461. Maximum Sum of Distinct Subarrays With Length K

Comments
4 min read
Greatest Common Divisor of Strings in Javascript

Greatest Common Divisor of Strings in Javascript

1
Comments
2 min read
862. Shortest Subarray with Sum at Least K

862. Shortest Subarray with Sum at Least K

Comments
3 min read
3254. Find the Power of K-Size Subarrays I

3254. Find the Power of K-Size Subarrays I

Comments
4 min read
1574. Shortest Subarray to be Removed to Make Array Sorted

1574. Shortest Subarray to be Removed to Make Array Sorted

Comments
3 min read
Leetcode — Top Interview 150–125. Valid Palindrome

Leetcode — Top Interview 150–125. Valid Palindrome

Comments
2 min read
Leetcode #2.Add Two Numbers

Leetcode #2.Add Two Numbers

Comments
3 min read
Leetcode — Top Interview 150–121. Best Time to Buy and Sell Stock

Leetcode — Top Interview 150–121. Best Time to Buy and Sell Stock

Comments
2 min read
2563. Count the Number of Fair Pairs

2563. Count the Number of Fair Pairs

Comments
3 min read
Synchronizing Threads with Semaphores: Practicing Concurrency in Java - LeetCode Problem 1115, "Print FooBar Alternately"

Synchronizing Threads with Semaphores: Practicing Concurrency in Java - LeetCode Problem 1115, "Print FooBar Alternately"

1
Comments
3 min read
LeetCode Challenge: 274. H-Index - JavaScript Solution 🚀

LeetCode Challenge: 274. H-Index - JavaScript Solution 🚀

10
Comments 1
2 min read
Two sum

Two sum

Comments
2 min read
LeetCode in Swift - 1975. Maximum Matrix Sum (中文解釋)

LeetCode in Swift - 1975. Maximum Matrix Sum (中文解釋)

1
Comments
1 min read
LeetCode Challenge: 45. Jump Game II - JavaScript Solution 🚀

LeetCode Challenge: 45. Jump Game II - JavaScript Solution 🚀

9
Comments 1
2 min read
2593. Find Score of an Array After Marking All Elements

2593. Find Score of an Array After Marking All Elements

3
Comments
3 min read
LeetCode Challenge: 55. Jump Game - JavaScript Solution 🚀

LeetCode Challenge: 55. Jump Game - JavaScript Solution 🚀

10
Comments 1
2 min read
LeetCode Challenge: 122. Best Time to Buy and Sell Stock II - JavaScript Solution 🚀

LeetCode Challenge: 122. Best Time to Buy and Sell Stock II - JavaScript Solution 🚀

9
Comments 1
2 min read
Starting my DSA journey

Starting my DSA journey

1
Comments
2 min read
loading...