Forem

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
1769. Minimum Number of Operations to Move All Balls to Each Box

1769. Minimum Number of Operations to Move All Balls to Each Box

Comments
4 min read
Understanding the XOR Operator: A Powerful Tool in Computing

Understanding the XOR Operator: A Powerful Tool in Computing

Comments
3 min read
1768. Merge Strings Alternately

1768. Merge Strings Alternately

Comments
2 min read
2381. Shifting Letters II

2381. Shifting Letters II

1
Comments
4 min read
LeetCode Challenge: 3. Longest Substring Without Repeating Characters - JavaScript Solution 🚀

LeetCode Challenge: 3. Longest Substring Without Repeating Characters - JavaScript Solution 🚀

5
Comments 1
2 min read
1930. Unique Length-3 Palindromic Subsequences

1930. Unique Length-3 Palindromic Subsequences

Comments
3 min read
Find all anagrams in the string[Fixed Window pattern]

Find all anagrams in the string[Fixed Window pattern]

Comments
1 min read
No of ways to split Array

No of ways to split Array

Comments
1 min read
2270. Number of Ways to Split Array

2270. Number of Ways to Split Array

Comments
3 min read
Leetcode — 3289. The Two Sneaky Numbers of Digitville

Leetcode — 3289. The Two Sneaky Numbers of Digitville

Comments
2 min read
Range sum query 2D - Immutable

Range sum query 2D - Immutable

Comments
1 min read
LeetCode Challenge: 15. 3Sum - JavaScript Solution 🚀

LeetCode Challenge: 15. 3Sum - JavaScript Solution 🚀

5
Comments 1
4 min read
2559. Count Vowel Strings in Ranges

2559. Count Vowel Strings in Ranges

Comments
3 min read
Range Sum Query - Immutable

Range Sum Query - Immutable

Comments
1 min read
Count vowel strings in ranges

Count vowel strings in ranges

Comments
1 min read
LeetCode Challenge 30: Substring with Concatenation of All Words - JavaScript Solution 🚀

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

5
Comments 1
3 min read
1422. Maximum Score After Splitting a String

1422. Maximum Score After Splitting a String

Comments
3 min read
983. Minimum Cost For Tickets

983. Minimum Cost For Tickets

Comments
5 min read
2466. Count Ways To Build Good Strings

2466. Count Ways To Build Good Strings

Comments
3 min read
Yay! Reached 1035+ days Daily Coding Streak on Leetcode!

Yay! Reached 1035+ days Daily Coding Streak on Leetcode!

Comments
1 min read
1639. Number of Ways to Form a Target String Given a Dictionary

1639. Number of Ways to Form a Target String Given a Dictionary

Comments
5 min read
689. Maximum Sum of 3 Non-Overlapping Subarrays

689. Maximum Sum of 3 Non-Overlapping Subarrays

Comments
3 min read
1014. Best Sightseeing Pair

1014. Best Sightseeing Pair

Comments
2 min read
Valid Anagram

Valid Anagram

Comments
2 min read
494. Target Sum

494. Target Sum

Comments
3 min read
LeetCode Challenge: 167. Two Sum II - Input Array Is Sorted - JavaScript Solution 🚀

LeetCode Challenge: 167. Two Sum II - Input Array Is Sorted - JavaScript Solution 🚀

6
Comments 1
2 min read
515. Find Largest Value in Each Tree Row

515. Find Largest Value in Each Tree Row

Comments
3 min read
Find Largest Value in Each Tree Row

Find Largest Value in Each Tree Row

Comments
1 min read
2471. Minimum Number of Operations to Sort a Binary Tree by Level

2471. Minimum Number of Operations to Sort a Binary Tree by Level

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

2940. Find Building Where Alice and Bob Can Meet

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

2872. Maximum Number of K-Divisible Components

Comments
6 min read
LeetCode Challenge: 209. Minimum Size Subarray Sum - JavaScript Solution 🚀

LeetCode Challenge: 209. Minimum Size Subarray Sum - JavaScript Solution 🚀

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

2415. Reverse Odd Levels of Binary Tree

Comments
5 min read
3203. Find Minimum Diameter After Merging Two Trees

3203. Find Minimum Diameter After Merging Two Trees

Comments
5 min read
Binary Tree Level Order Traversal Leetcode

Binary Tree Level Order Traversal Leetcode

Comments
2 min read
769. Max Chunks To Make Sorted

769. Max Chunks To Make Sorted

Comments
3 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
3264. Final Array State After K Multiplication Operations I

3264. Final Array State After K Multiplication Operations I

Comments
3 min read
2762. Continuous Subarrays

2762. Continuous Subarrays

Comments
3 min read
🧩 LeetCode Challenge: Merge Sorted Array | Top Interview Questions [Java Solution]

🧩 LeetCode Challenge: Merge Sorted Array | Top Interview Questions [Java Solution]

10
Comments 1
3 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
Non overlapping intervals

Non overlapping intervals

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

Minimum No. of arrows to burst balloons

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
2182. Construct String With Repeat Limit

2182. Construct String With Repeat Limit

1
Comments
4 min read
LeetCode Challenge: 6. Zigzag Conversion - JavaScript Solution 🚀

LeetCode Challenge: 6. Zigzag Conversion - JavaScript Solution 🚀

6
Comments 1
2 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
LeetCode Challenge: 11. 📦 Container With Most Water - JavaScript Solution 🚀

LeetCode Challenge: 11. 📦 Container With Most Water - JavaScript Solution 🚀

10
Comments 1
3 min read
3243. Shortest Distance After Road Addition Queries I

3243. Shortest Distance After Road Addition Queries I

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

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

1
Comments
1 min read
loading...