DEV Community

# dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Reverse Linked List

Reverse Linked List

1
Comments
1 min read
Divide a String Into Groups of Size k

Divide a String Into Groups of Size k

1
Comments
2 min read
Number of Recent Calls

Number of Recent Calls

1
Comments
1 min read
Binary Tree Level Order Traversal

Binary Tree Level Order Traversal

4
Comments
1 min read
Rearrange Array Elements by Sign

Rearrange Array Elements by Sign

4
Comments
1 min read
Replace All Digits with Characters

Replace All Digits with Characters

4
Comments
1 min read
Check if Array Is Sorted and Rotated

Check if Array Is Sorted and Rotated

4
Comments
1 min read
Find Players With Zero or One Losses

Find Players With Zero or One Losses

4
Comments
2 min read
Two Sum IV - Input is a BST

Two Sum IV - Input is a BST

4
Comments
1 min read
Remove All Occurrences of a Substring

Remove All Occurrences of a Substring

4
Comments
1 min read
Critical Connections in a Network

Critical Connections in a Network

3
Comments
2 min read
Flood Fill

Flood Fill

3
Comments
2 min read
Flatten Binary Tree to Linked List

Flatten Binary Tree to Linked List

4
Comments
1 min read
Number of Flowers in Full Bloom

Number of Flowers in Full Bloom

4
Comments
2 min read
Count Primes

Count Primes

4
Comments
1 min read
Remove Element

Remove Element

4
Comments
2 min read
Two City Scheduling

Two City Scheduling

4
Comments
1 min read
Set Mismatch

Set Mismatch

1
Comments
1 min read
Move Zeroes

Move Zeroes

Comments
1 min read
Valid Parentheses

Valid Parentheses

Comments
1 min read
Maximum Level Sum of a Binary Tree

Maximum Level Sum of a Binary Tree

1
Comments
1 min read
Minimum Remove to Make Valid Parentheses

Minimum Remove to Make Valid Parentheses

1
Comments
1 min read
Maximum Nesting Depth of the Parentheses

Maximum Nesting Depth of the Parentheses

1
Comments
1 min read
Find Mode in Binary Search Tree

Find Mode in Binary Search Tree

1
Comments
1 min read
Coin Change

Coin Change

Comments
1 min read
Smallest Subsequence of Distinct Characters

Smallest Subsequence of Distinct Characters

Comments
1 min read
Construct String With Repeat Limit

Construct String With Repeat Limit

1
Comments
2 min read
Substrings of Size Three with Distinct Characters

Substrings of Size Three with Distinct Characters

1
Comments
1 min read
Merge Intervals

Merge Intervals

1
Comments
1 min read
Generate Parentheses

Generate Parentheses

1
Comments
1 min read
Maximum Difference Between Increasing Elements

Maximum Difference Between Increasing Elements

1
Comments
1 min read
Partition List

Partition List

1
Comments
1 min read
Find Minimum in Rotated Sorted Array

Find Minimum in Rotated Sorted Array

1
Comments
2 min read
Greatest Sum Divisible by Three

Greatest Sum Divisible by Three

4
Comments
1 min read
Kth Largest Element in an Array

Kth Largest Element in an Array

4
Comments
1 min read
Count Nodes Equal to Average of Subtree

Count Nodes Equal to Average of Subtree

4
Comments
2 min read
Strong Password Checker II

Strong Password Checker II

4
Comments
1 min read
Maximum Consecutive Floors Without Special Floors

Maximum Consecutive Floors Without Special Floors

3
Comments 2
1 min read
Java and Object Oriented Programming [#1]

Java and Object Oriented Programming [#1]

9
Comments
3 min read
Count of Smaller Numbers After Self

Count of Smaller Numbers After Self

4
Comments
1 min read
Assign Cookies

Assign Cookies

3
Comments
1 min read
Remove Duplicates from Sorted Array

Remove Duplicates from Sorted Array

3
Comments
2 min read
Count Hills and Valleys in an Array

Count Hills and Valleys in an Array

4
Comments
3 min read
Minimum Operations to Reduce X to Zero

Minimum Operations to Reduce X to Zero

4
Comments
1 min read
Richest Customer Wealth

Richest Customer Wealth

3
Comments
1 min read
Delete Operation for Two Strings

Delete Operation for Two Strings

4
Comments
1 min read
Kth Missing Positive Number

Kth Missing Positive Number

4
Comments
1 min read
All Elements in Two Binary Search Trees

All Elements in Two Binary Search Trees

4
Comments
1 min read
Interleaving String

Interleaving String

4
Comments
2 min read
Minimum Path Sum

Minimum Path Sum

3
Comments
1 min read
Combination Sum III

Combination Sum III

4
Comments
1 min read
Construct String from Binary Tree

Construct String from Binary Tree

4
Comments
1 min read
Maximum Binary Tree II

Maximum Binary Tree II

3
Comments
2 min read
Univalued Binary Tree

Univalued Binary Tree

4
Comments
1 min read
Subtree of Another Tree

Subtree of Another Tree

5
Comments
1 min read
Longest Uncommon Subsequence I

Longest Uncommon Subsequence I

3
Comments
1 min read
Flip Equivalent Binary Trees

Flip Equivalent Binary Trees

1
Comments
1 min read
Next Permutation

Next Permutation

1
Comments
2 min read
Same Tree

Same Tree

4
Comments
1 min read
Search in Rotated Sorted Array

Search in Rotated Sorted Array

8
Comments
2 min read
loading...