DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
LeetCode Challenge 30: Substring with Concatenation of All Words - JavaScript Solution 🚀

LeetCode Challenge 30: Substring with Concatenation of All Words - JavaScript Solution 🚀

7
Comments 2
3 min read
LeetCode Challenge: 58. Length of Last Word - JavaScript Solution🚀

LeetCode Challenge: 58. Length of Last Word - JavaScript Solution🚀

5
Comments 1
2 min read
2940. Find Building Where Alice and Bob Can Meet

2940. Find Building Where Alice and Bob Can Meet

1
Comments
6 min read
Greatest Common Divisor of Strings in Javascript

Greatest Common Divisor of Strings in Javascript

1
Comments
2 min read
🧩 LeetCode Challenge: Remove Element | Top Interview Questions [Java Solution]

🧩 LeetCode Challenge: Remove Element | Top Interview Questions [Java Solution]

7
Comments 3
3 min read
LeetCode Challenge: 12. Integer to Roman - JavaScript Solution 🚀

LeetCode Challenge: 12. Integer to Roman - JavaScript Solution 🚀

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

862. Shortest Subarray with Sum at Least K

Comments
3 min read
2872. Maximum Number of K-Divisible Components

2872. Maximum Number of K-Divisible Components

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

3254. Find the Power of K-Size Subarrays I

Comments
4 min read
2415. Reverse Odd Levels of Binary Tree

2415. Reverse Odd Levels of Binary Tree

1
Comments
5 min read
LeetCode Challenge: 13. Roman to Integer - JavaScript Solution 🚀

LeetCode Challenge: 13. Roman to Integer - JavaScript Solution 🚀

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

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

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

5
Comments 1
2 min read
769. Max Chunks To Make Sorted

769. Max Chunks To Make Sorted

1
Comments
3 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 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
loading...