DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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
Merge Strings Alternately in javascript

Merge Strings Alternately in javascript

1
Comments 2
2 min read
Leetcode #2.Add Two Numbers

Leetcode #2.Add Two Numbers

Comments
3 min read
Two Sum Problem’ on LeetCode

Two Sum Problem’ on LeetCode

Comments
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
Two sum

Two sum

Comments
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
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 — Top Interview 150 — Remove Element

Leetcode — Top Interview 150 — Remove Element

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

Leetcode — 3110. Score of a String

Comments
2 min read
2070. Most Beautiful Item for Each Query

2070. Most Beautiful Item for Each Query

Comments
4 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
3163. String Compression III

3163. String Compression III

Comments
3 min read
1106. Parsing A Boolean Expression

1106. Parsing A Boolean Expression

Comments
4 min read
SQL Leetcode Questions

SQL Leetcode Questions

27
Comments 2
3 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
1545. Find Kth Bit in Nth Binary String

1545. Find Kth Bit in Nth Binary String

Comments
4 min read
2601. Prime Subtraction Operation

2601. Prime Subtraction Operation

Comments
3 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
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
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
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
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
796. Rotate String

796. Rotate String

2
Comments
2 min read
962. Maximum Width Ramp

962. Maximum Width Ramp

Comments
3 min read
921. Minimum Add to Make Parentheses Valid

921. Minimum Add to Make Parentheses Valid

Comments
2 min read
Leetcode LinkedList Questions

Leetcode LinkedList Questions

Comments
2 min read
Leetcode Journey Started

Leetcode Journey Started

Comments
1 min read
1963. Minimum Number of Swaps to Make the String Balanced

1963. Minimum Number of Swaps to Make the String Balanced

Comments
3 min read
1963. Minimum Number of Swaps to Make the String Balanced

1963. Minimum Number of Swaps to Make the String Balanced

Comments
3 min read
2696. Minimum String Length After Removing Substrings

2696. Minimum String Length After Removing Substrings

Comments
3 min read
Find safest walk through the grid

Find safest walk through the grid

Comments
2 min read
1813. Sentence Similarity III

1813. Sentence Similarity III

Comments
3 min read
3133. Minimum Array End

3133. Minimum Array End

Comments
3 min read
1 Year of Consistent LeetCoding

1 Year of Consistent LeetCoding

543
Comments 24
2 min read
Maximum Possible Number by Binary Concatenation

Maximum Possible Number by Binary Concatenation

1
Comments
1 min read
1829. Maximum XOR for Each Query

1829. Maximum XOR for Each Query

Comments
4 min read
2491. Divide Players Into Teams of Equal Skill

2491. Divide Players Into Teams of Equal Skill

Comments
3 min read
2275. Largest Combination With Bitwise AND Greater Than Zero

2275. Largest Combination With Bitwise AND Greater Than Zero

Comments
3 min read
1590. Make Sum Divisible by P

1590. Make Sum Divisible by P

Comments
4 min read
3011. Find if Array Can Be Sorted

3011. Find if Array Can Be Sorted

Comments
4 min read
Maximum Multiplication Score

Maximum Multiplication Score

Comments
1 min read
[Leetcode] 2727. Is Object Empty

[Leetcode] 2727. Is Object Empty

Comments
2 min read
1497. Check If Array Pairs Are Divisible by k

1497. Check If Array Pairs Are Divisible by k

Comments
3 min read
loading...