DEV Community

# leetcode

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Replace Elements with Greatest Element on Right Side

Replace Elements with Greatest Element on Right Side

3
Comments
2 min read
Array Partition I

Array Partition I

3
Comments
1 min read
Yo! I completed 100 days of Leetcode

Yo! I completed 100 days of Leetcode

5
Comments 2
1 min read
Running Sum of 1d Array

Running Sum of 1d Array

3
Comments
1 min read
Simplified Fractions

Simplified Fractions

3
Comments
1 min read
Find N Unique Integers Sum up to Zero

Find N Unique Integers Sum up to Zero

3
Comments
1 min read
N-th Tribonacci Number

N-th Tribonacci Number

3
Comments
1 min read
Minimum Add to Make Parentheses Valid

Minimum Add to Make Parentheses Valid

3
Comments
1 min read
Intersection of Two Linked Lists

Intersection of Two Linked Lists

3
Comments
3 min read
Truncate Sentence

Truncate Sentence

4
Comments
1 min read
Minimize Result by Adding Parentheses to Expression

Minimize Result by Adding Parentheses to Expression

3
Comments
2 min read
Top K Frequent Elements

Top K Frequent Elements

3
Comments
1 min read
Wiggle Subsequence

Wiggle Subsequence

3
Comments
2 min read
Maximum Total Importance of Roads

Maximum Total Importance of Roads

3
Comments
2 min read
Robot Return to Origin

Robot Return to Origin

3
Comments
1 min read
Sequential Digits

Sequential Digits

Comments
1 min read
A Number After a Double Reversal

A Number After a Double Reversal

Comments
1 min read
Score of Parentheses

Score of Parentheses

3
Comments
1 min read
Partition Labels

Partition Labels

3
Comments
1 min read
Angle Between Hands of a Clock

Angle Between Hands of a Clock

Comments
1 min read
Happy Number

Happy Number

Comments
1 min read
Binary Number with Alternating Bits

Binary Number with Alternating Bits

4
Comments
1 min read
K-diff Pairs in an Array

K-diff Pairs in an Array

3
Comments
1 min read
Widest Vertical Area Between Two Points Containing No Points

Widest Vertical Area Between Two Points Containing No Points

3
Comments
1 min read
Perfect Squares

Perfect Squares

6
Comments
1 min read
Sum of Square Numbers

Sum of Square Numbers

3
Comments
1 min read
Find the Duplicate Number

Find the Duplicate Number

3
Comments
1 min read
Goal Parser Interpretation

Goal Parser Interpretation

3
Comments
1 min read
Smallest Subtree with all the Deepest Nodes

Smallest Subtree with all the Deepest Nodes

3
Comments
2 min read
Partition Equal Subset Sum

Partition Equal Subset Sum

3
Comments
1 min read
Valid Perfect Square

Valid Perfect Square

6
Comments
1 min read
Minimum Average Difference

Minimum Average Difference

3
Comments
2 min read
Longest Substring Without Repeating Characters

Longest Substring Without Repeating Characters

3
Comments
1 min read
Search in Rotated Sorted Array II

Search in Rotated Sorted Array II

3
Comments
2 min read
Partition Array Into Three Parts With Equal Sum

Partition Array Into Three Parts With Equal Sum

3
Comments
1 min read
Design Add and Search Words Data Structure

Design Add and Search Words Data Structure

3
Comments
2 min read
House Robber III

House Robber III

3
Comments
2 min read
Maximum Subarray

Maximum Subarray

3
Comments
1 min read
Maximize Distance to Closest Person

Maximize Distance to Closest Person

3
Comments
2 min read
Replace Words

Replace Words

3
Comments
2 min read
Remove Duplicates from Sorted List

Remove Duplicates from Sorted List

3
Comments
1 min read
Count Prefixes of a Given String

Count Prefixes of a Given String

3
Comments
1 min read
Merge Sorted Array

Merge Sorted Array

3
Comments
2 min read
Find and Replace Pattern

Find and Replace Pattern

3
Comments
1 min read
Number of Strings That Appear as Substrings in Word

Number of Strings That Appear as Substrings in Word

3
Comments
1 min read
String to Integer (atoi)

String to Integer (atoi)

3
Comments
2 min read
Ones and Zeroes

Ones and Zeroes

3
Comments
2 min read
3Sum Closest

3Sum Closest

3
Comments
1 min read
Gas Station

Gas Station

3
Comments
2 min read
Letter Combinations of a Phone Number

Letter Combinations of a Phone Number

3
Comments
1 min read
Minimum Deletions to Make String Balanced

Minimum Deletions to Make String Balanced

3
Comments
1 min read
Single Number III

Single Number III

3
Comments
1 min read
Delete Node in a Linked List

Delete Node in a Linked List

3
Comments
1 min read
Set Matrix Zeroes

Set Matrix Zeroes

3
Comments
1 min read
Delete and Earn

Delete and Earn

3
Comments
1 min read
Maximum Swap

Maximum Swap

3
Comments
1 min read
Add Digits

Add Digits

3
Comments
1 min read
Find Peak Element

Find Peak Element

3
Comments
1 min read
Maximum Length of Pair Chain

Maximum Length of Pair Chain

3
Comments
1 min read
Merge Two Sorted Lists

Merge Two Sorted Lists

3
Comments
1 min read
loading...