DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Loud and Rich

Loud and Rich

3
Comments
2 min read
Smallest String With A Given Numeric Value

Smallest String With A Given Numeric Value

3
Comments
1 min read
Find the Distance Value Between Two Arrays

Find the Distance Value Between Two Arrays

3
Comments
1 min read
Palindrome Number

Palindrome Number

3
Comments
1 min read
Reverse Integer

Reverse Integer

3
Comments
1 min read
Minimum Operations to Make Array Equal

Minimum Operations to Make Array Equal

3
Comments
1 min read
Roman to Integer

Roman to Integer

3
Comments
2 min read
Minimum Lines to Represent a Line Chart

Minimum Lines to Represent a Line Chart

3
Comments
2 min read
Path Sum

Path Sum

3
Comments
2 min read
Check if All A's Appears Before All B's

Check if All A's Appears Before All B's

3
Comments
1 min read
Pacific Atlantic Water Flow

Pacific Atlantic Water Flow

3
Comments
2 min read
Number of Ways to Select Buildings

Number of Ways to Select Buildings

Comments
2 min read
Search a 2D Matrix II

Search a 2D Matrix II

3
Comments
1 min read
First Missing Positive

First Missing Positive

3
Comments
1 min read
Valid Sudoku

Valid Sudoku

3
Comments
2 min read
Serialize and Deserialize Binary Tree

Serialize and Deserialize Binary Tree

3
Comments
2 min read
Redundant Connection

Redundant Connection

3
Comments
2 min read
Search a 2D Matrix

Search a 2D Matrix

3
Comments
1 min read
Check If a String Contains All Binary Codes of Size K

Check If a String Contains All Binary Codes of Size K

3
Comments
1 min read
Subarray Sums Divisible by K

Subarray Sums Divisible by K

3
Comments
1 min read
Check If Word Is Valid After Substitutions

Check If Word Is Valid After Substitutions

3
Comments
1 min read
Create Binary Tree From Descriptions

Create Binary Tree From Descriptions

3
Comments
2 min read
Target Sum

Target Sum

3
Comments
2 min read
Swapping Nodes in a Linked List

Swapping Nodes in a Linked List

3
Comments
1 min read
Find the Minimum and Maximum Number of Nodes Between Critical Points

Find the Minimum and Maximum Number of Nodes Between Critical Points

3
Comments
3 min read
Partition Array According to Given Pivot

Partition Array According to Given Pivot

3
Comments
2 min read
Next Greater Element I

Next Greater Element I

3
Comments
2 min read
Count Good Triplets

Count Good Triplets

3
Comments
1 min read
Nim Game

Nim Game

3
Comments
1 min read
Keys and Rooms

Keys and Rooms

3
Comments
2 min read
Single Number

Single Number

3
Comments
1 min read
Remove All Adjacent Duplicates In String

Remove All Adjacent Duplicates In String

3
Comments
1 min read
Duplicate Zeros

Duplicate Zeros

3
Comments
1 min read
First Unique Character in a String

First Unique Character in a String

3
Comments
1 min read
Edit Distance

Edit Distance

3
Comments
1 min read
Number of Steps to Reduce a Number in Binary Representation to One

Number of Steps to Reduce a Number in Binary Representation to One

3
Comments
1 min read
Count Numbers with Unique Digits

Count Numbers with Unique Digits

3
Comments
1 min read
Word Subsets

Word Subsets

3
Comments
1 min read
Largest 3-Same-Digit Number in String

Largest 3-Same-Digit Number in String

3
Comments
1 min read
Check If Two String Arrays are Equivalent

Check If Two String Arrays are Equivalent

3
Comments
1 min read
Satisfiability of Equality Equations

Satisfiability of Equality Equations

3
Comments
1 min read
Reshape the Matrix

Reshape the Matrix

3
Comments
1 min read
Final Value of Variable After Performing Operations

Final Value of Variable After Performing Operations

3
Comments
1 min read
Reverse Words in a String III

Reverse Words in a String III

3
Comments
1 min read
Reverse Vowels of a String

Reverse Vowels of a String

3
Comments
1 min read
Find Nearest Point That Has the Same X or Y Coordinate

Find Nearest Point That Has the Same X or Y Coordinate

Comments
2 min read
Find the Difference

Find the Difference

Comments
1 min read
Count Sorted Vowel Strings

Count Sorted Vowel Strings

Comments
1 min read
Sort Characters By Frequency

Sort Characters By Frequency

Comments
1 min read
Longest Harmonious Subsequence

Longest Harmonious Subsequence

Comments
1 min read
Count Good Meals

Count Good Meals

Comments
1 min read
Excel Sheet Column Number

Excel Sheet Column Number

Comments
1 min read
Minimize Deviation in Array

Minimize Deviation in Array

Comments
2 min read
Isomorphic Strings

Isomorphic Strings

Comments
1 min read
Find Closest Number to Zero

Find Closest Number to Zero

Comments
1 min read
Convert BST to Greater Tree

Convert BST to Greater Tree

Comments
2 min read
Sliding Window Maximum

Sliding Window Maximum

Comments
1 min read
Min Cost Climbing Stairs

Min Cost Climbing Stairs

1
Comments
1 min read
Get Maximum in Generated Array

Get Maximum in Generated Array

1
Comments
1 min read
Number of Ways to Split Array

Number of Ways to Split Array

1
Comments
2 min read
loading...