DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
LeetCode in Swift - 1975. Maximum Matrix Sum (中文解釋)

LeetCode in Swift - 1975. Maximum Matrix Sum (中文解釋)

1
Comments
1 min read
1975. Maximum Matrix Sum

1975. Maximum Matrix Sum

Comments
3 min read
1861. Rotating the Box

1861. Rotating the Box

Comments
3 min read
1072. Flip Columns For Maximum Number of Equal Rows

1072. Flip Columns For Maximum Number of Equal Rows

Comments
3 min read
20. Valid Parentheses

20. Valid Parentheses

Comments
1 min read
2257. Count Unguarded Cells in the Grid

2257. Count Unguarded Cells in the Grid

Comments
4 min read
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 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 - 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
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
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
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
LeetCode in Swift - 66. Plus One

LeetCode in Swift - 66. Plus One

1
Comments
1 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
LeetCode in Swift - 21. Merge Two Sorted Lists

LeetCode in Swift - 21. Merge Two Sorted Lists

1
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
LeetCode in Swift - 9. Palindrome Number

LeetCode in Swift - 9. Palindrome Number

1
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?

4
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
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

32
Comments 2
3 min read
Leetcode LinkedList Questions

Leetcode LinkedList Questions

Comments
2 min read
loading...