DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
1829. Maximum XOR for Each Query

1829. Maximum XOR for Each Query

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

2275. Largest Combination With Bitwise AND Greater Than Zero

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

3011. Find if Array Can Be Sorted

Comments
4 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
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
Leetcode — Top Interview 150–169. Majority Element

Leetcode — Top Interview 150–169. Majority Element

6
Comments 1
1 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
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
Maximum Possible Number by Binary Concatenation

Maximum Possible Number by Binary Concatenation

1
Comments
1 min read
1 Year of Consistent LeetCoding

1 Year of Consistent LeetCoding

512
Comments 22
2 min read
2491. Divide Players Into Teams of Equal Skill

2491. Divide Players Into Teams of Equal Skill

Comments
3 min read
1590. Make Sum Divisible by P

1590. Make Sum Divisible by P

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
LeetCode #1. Two Sum

LeetCode #1. Two Sum

1
Comments
2 min read
Leetcode #2623. Memoize

Leetcode #2623. Memoize

Comments
2 min read
567. Permutation in String

567. Permutation in String

1
Comments
3 min read
Maximum product subarray

Maximum product subarray

Comments
1 min read
2490. Circular Sentence

2490. Circular Sentence

2
Comments
3 min read
Longest increasing subsequence

Longest increasing subsequence

Comments
1 min read
Search-35. Search Insert Position

Search-35. Search Insert Position

Comments
1 min read
1957. Delete Characters to Make Fancy String

1957. Delete Characters to Make Fancy String

Comments
2 min read
Sort character by frequency

Sort character by frequency

Comments
1 min read
Building a Rotated Sorted Array Search in Java: Understanding Pivot and Binary Search

Building a Rotated Sorted Array Search in Java: Understanding Pivot and Binary Search

Comments
3 min read
2463. Minimum Total Distance Traveled

2463. Minimum Total Distance Traveled

1
Comments
5 min read
1671. Minimum Number of Removals to Make Mountain Array

1671. Minimum Number of Removals to Make Mountain Array

Comments
3 min read
loading...