DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
2516. Take K of Each Character From Left and Right

2516. Take K of Each Character From Left and Right

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

LeetCode in Swift - 66. Plus One

Comments
1 min read
LeetCode Problem#03

LeetCode Problem#03

10
Comments
1 min read
2461. Maximum Sum of Distinct Subarrays With Length K

2461. Maximum Sum of Distinct Subarrays With Length K

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

LeetCode in Swift - 21. Merge Two Sorted Lists

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

LeetCode in Swift - 9. Palindrome Number

Comments
3 min read
1652. Defuse the Bomb

1652. Defuse the Bomb

Comments
3 min read
Greatest Common Divisor of Strings in Javascript

Greatest Common Divisor of Strings in Javascript

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

862. Shortest Subarray with Sum at Least K

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

3254. Find the Power of K-Size Subarrays I

Comments
4 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 — Top Interview 150–125. Valid Palindrome

Leetcode — Top Interview 150–125. Valid Palindrome

Comments
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
O que ĂŠ um problema in-place?

O que ĂŠ um problema in-place?

2
Comments
2 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
Minimum Division Operations to Make Array Non Decreasing

Minimum Division Operations to Make Array Non Decreasing

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

Count Substrings With K-Frequency Characters I

Comments
1 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
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
962. Maximum Width Ramp

962. Maximum Width Ramp

Comments
3 min read
Merge Strings Alternately in javascript

Merge Strings Alternately in javascript

6
Comments 2
2 min read
921. Minimum Add to Make Parentheses Valid

921. Minimum Add to Make Parentheses Valid

Comments
2 min read
SQL Leetcode Questions

SQL Leetcode Questions

27
Comments 2
3 min read
Leetcode LinkedList Questions

Leetcode LinkedList Questions

Comments
2 min read
2601. Prime Subtraction Operation

2601. Prime Subtraction Operation

4
Comments
3 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
1 Year of Consistent LeetCoding

1 Year of Consistent LeetCoding

556
Comments 24
2 min read
1813. Sentence Similarity III

1813. Sentence Similarity III

Comments
3 min read
loading...