DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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
LeetCode Challenge: 121. Best Time to Buy and Sell Stock - JavaScript Solution 🚀

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

19
Comments 1
2 min read
Queues: 50 Leetcode Questions

Queues: 50 Leetcode Questions

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

LeetCode Challenge: 189. Rotate Array - JavaScript Solution 🚀

9
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
1672. Richest Customer Wealth

1672. Richest Customer Wealth

Comments
1 min read
1480. Running Sum of 1d Array

1480. Running Sum of 1d Array

Comments
1 min read
2054. Two Best Non-Overlapping Events

2054. Two Best Non-Overlapping Events

6
Comments
3 min read
LeetCode Challenge: 169. Majority Element - JavaScript Solution 🚀

LeetCode Challenge: 169. Majority Element - JavaScript Solution 🚀

12
Comments 1
2 min read
2914. Minimum Number of Changes to Make Binary String Beautiful

2914. Minimum Number of Changes to Make Binary String Beautiful

Comments
3 min read
LeetCode Challenge: 80. Remove Duplicates from Sorted Array II - JavaScript Solution 🚀

LeetCode Challenge: 80. Remove Duplicates from Sorted Array II - JavaScript Solution 🚀

8
Comments 1
2 min read
Leetcode — Top Interview 150 — Remove Element

Leetcode — Top Interview 150 — Remove Element

Comments
2 min read
LeetCode Challenge: 26. Remove Duplicates from Sorted Array - JavaScript Solution 🚀

LeetCode Challenge: 26. Remove Duplicates from Sorted Array - JavaScript Solution 🚀

5
Comments 1
2 min read
Leetcode — 3110. Score of a String

Leetcode — 3110. Score of a String

Comments
2 min read
LeetCode Challenge: 27. Remove Element - JavaScript Solution 🚀

LeetCode Challenge: 27. Remove Element - JavaScript Solution 🚀

5
Comments 1
2 min read
2337. Move Pieces to Obtain a String

2337. Move Pieces to Obtain a String

Comments
5 min read
LeetCode Challenge: 88. Merge Sorted Array - JavaScript Solution 🚀

LeetCode Challenge: 88. Merge Sorted Array - JavaScript Solution 🚀

6
Comments 1
3 min read
2109. Adding Spaces to a String

2109. Adding Spaces to a String

Comments 1
3 min read
2070. Most Beautiful Item for Each Query

2070. Most Beautiful Item for Each Query

Comments
4 min read
1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence

1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence

Comments
3 min read
LeetCode in Swift - 1957. Delete Characters to Make Fancy String

LeetCode in Swift - 1957. Delete Characters to Make Fancy String

1
Comments
1 min read
387. First Unique Character in a String - Java 練習 - HashMap (中文解釋)

387. First Unique Character in a String - Java 練習 - HashMap (中文解釋)

1
Comments
1 min read
1346. Check If N and Its Double Exist

1346. Check If N and Its Double Exist

Comments
3 min read
242. Valid Anagram - Java 練習 - HashMap (中文解釋)

242. Valid Anagram - Java 練習 - HashMap (中文解釋)

3
Comments
1 min read
2577. Minimum Time to Visit a Cell In a Grid

2577. Minimum Time to Visit a Cell In a Grid

Comments
4 min read
My LeetCode Journey: From Beginner to Earning the Annual Badge! 🎉

My LeetCode Journey: From Beginner to Earning the Annual Badge! 🎉

19
Comments
2 min read
Sliding subarray beauty

Sliding subarray beauty

Comments
2 min read
2641. Cousins in Binary Tree II

2641. Cousins in Binary Tree II

Comments
5 min read
LeetCode in Swift - 773. Sliding Puzzle (中文解釋)

LeetCode in Swift - 773. Sliding Puzzle (中文解釋)

5
Comments
2 min read
3163. String Compression III

3163. String Compression III

Comments
3 min read
1975. Maximum Matrix Sum

1975. Maximum Matrix Sum

Comments
3 min read
1106. Parsing A Boolean Expression

1106. Parsing A Boolean Expression

Comments
4 min read
LeetCode in Swift - 1072. Flip Columns For Maximum Number of Equal Rows

LeetCode in Swift - 1072. Flip Columns For Maximum Number of Equal Rows

1
Comments
1 min read
Count Substrings With K-Frequency Characters I

Count Substrings With K-Frequency Characters I

Comments
1 min read
Minimum Division Operations to Make Array Non Decreasing

Minimum Division Operations to Make Array Non Decreasing

Comments
1 min read
1861. Rotating the Box

1861. Rotating the Box

Comments
3 min read
1545. Find Kth Bit in Nth Binary String

1545. Find Kth Bit in Nth Binary String

Comments
4 min read
3097. Shortest Subarray With OR at Least K II

3097. Shortest Subarray With OR at Least K II

1
Comments
4 min read
20. Valid Parentheses

20. Valid Parentheses

1
Comments
1 min read
LeetCode in Swift - 66. Plus One

LeetCode in Swift - 66. Plus One

1
Comments
1 min read
670. Maximum Swap

670. Maximum Swap

Comments
2 min read
Maximum swap

Maximum swap

Comments
2 min read
Longest Happy String

Longest Happy String

Comments
1 min read
LeetCode in Swift - 21. Merge Two Sorted Lists

LeetCode in Swift - 21. Merge Two Sorted Lists

1
Comments
1 min read
Modern C++ for LeetCode 🧑‍💻🚀

Modern C++ for LeetCode 🧑‍💻🚀

10
Comments 4
3 min read
1405. Longest Happy String

1405. Longest Happy String

Comments
3 min read
2938. Separate Black and White Balls

2938. Separate Black and White Balls

Comments
4 min read
LeetCode in Swift - 9. Palindrome Number

LeetCode in Swift - 9. Palindrome Number

1
Comments
3 min read
1652. Defuse the Bomb

1652. Defuse the Bomb

Comments
3 min read
Interval list intersections

Interval list intersections

Comments
2 min read
Partition of label

Partition of label

Comments
1 min read
Merge Intervals

Merge Intervals

Comments
1 min read
Count Number of Maximum Bitwise-OR Subsets

Count Number of Maximum Bitwise-OR Subsets

Comments 7
1 min read
2044. Count Number of Maximum Bitwise-OR Subsets

2044. Count Number of Maximum Bitwise-OR Subsets

Comments
3 min read
O que é um problema in-place?

O que é um problema in-place?

2
Comments
2 min read
632. Smallest Range Covering Elements from K Lists

632. Smallest Range Covering Elements from K Lists

Comments
3 min read
2406. Divide Intervals Into Minimum Number of Groups

2406. Divide Intervals Into Minimum Number of Groups

Comments
3 min read
The Struggle of Passing Coding Tests: LeetCode and Algorithm Mastery

The Struggle of Passing Coding Tests: LeetCode and Algorithm Mastery

Comments
3 min read
loading...