DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
LeetCode Challenge: 135. Candy - JavaScript Solution 🍬

LeetCode Challenge: 135. Candy - JavaScript Solution 🍬

6
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

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

LeetCode Challenge: 134. Gas Station - JavaScript Solution 🚀

5
Comments 1
2 min read
Leetcode — Top Interview 150–125. Valid Palindrome

Leetcode — Top Interview 150–125. Valid Palindrome

Comments
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
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
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
1792. Maximum Average Pass Ratio

1792. Maximum Average Pass Ratio

Comments
4 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 🚀

5
Comments 1
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 🚀

6
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

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

LeetCode Challenge: 55. Jump Game - JavaScript Solution 🚀

8
Comments 1
2 min read
Binary Search || Python || Data Structures and Algorithms

Binary Search || Python || Data Structures and Algorithms

Comments
4 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 🚀

6
Comments 1
2 min read
Index Page: Starting my DSA journey

Index Page: Starting my DSA journey

1
Comments
2 min read
Queues: 50 Leetcode Questions

Queues: 50 Leetcode Questions

1
Comments
4 min read
LeetCode Challenge: 121. Best Time to Buy and Sell Stock - JavaScript Solution 🚀

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

11
Comments 1
2 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
Stacks: 50 Leetcode Questions

Stacks: 50 Leetcode Questions

1
Comments
4 min read
LeetCode Challenge: 189. Rotate Array - JavaScript Solution 🚀

LeetCode Challenge: 189. Rotate Array - JavaScript Solution 🚀

5
Comments 1
2 min read
1342. Number of Steps to Reduce a Number to Zero

1342. Number of Steps to Reduce a Number to Zero

Comments
1 min read
412. Fizz Buzz

412. Fizz Buzz

Comments
1 min read
loading...