DEV Community

# dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Largest Number After Digit Swaps by Parity

Largest Number After Digit Swaps by Parity

4
Comments
1 min read
Binary Tree Paths

Binary Tree Paths

1
Comments
1 min read
Reach a Number

Reach a Number

4
Comments
1 min read
Rearrange Characters to Make Target String

Rearrange Characters to Make Target String

4
Comments
2 min read
Text Justification

Text Justification

1
Comments
2 min read
Sender With Largest Word Count

Sender With Largest Word Count

4
Comments
2 min read
4Sum

4Sum

5
Comments
1 min read
Island Perimeter

Island Perimeter

4
Comments
2 min read
Contiguous Array

Contiguous Array

4
Comments
1 min read
Numbers With Same Consecutive Differences

Numbers With Same Consecutive Differences

4
Comments
1 min read
Naming a Company

Naming a Company

4
Comments
2 min read
Minimum Difference Between Highest and Lowest of K Scores

Minimum Difference Between Highest and Lowest of K Scores

4
Comments
1 min read
Count Lattice Points Inside a Circle

Count Lattice Points Inside a Circle

5
Comments
2 min read
Find the Difference of Two Arrays

Find the Difference of Two Arrays

4
Comments
1 min read
Most Frequent Subtree Sum

Most Frequent Subtree Sum

3
Comments
1 min read
License Key Formatting

License Key Formatting

1
Comments
1 min read
Contains Duplicate II

Contains Duplicate II

4
Comments
1 min read
Sort Integers by The Power Value

Sort Integers by The Power Value

4
Comments
2 min read
Copy List with Random Pointer

Copy List with Random Pointer

3
Comments
2 min read
N-ary Tree Postorder Traversal

N-ary Tree Postorder Traversal

4
Comments
1 min read
Find the Town Judge

Find the Town Judge

4
Comments
1 min read
Uncommon Words from Two Sentences

Uncommon Words from Two Sentences

4
Comments
1 min read
Kth Largest Element in a Stream

Kth Largest Element in a Stream

4
Comments
1 min read
Merge Nodes in Between Zeros

Merge Nodes in Between Zeros

1
Comments
2 min read
Partitioning Into Minimum Number Of Deci-Binary Numbers

Partitioning Into Minimum Number Of Deci-Binary Numbers

1
Comments
1 min read
Power of Four

Power of Four

1
Comments
1 min read
Count and Say

Count and Say

1
Comments
1 min read
Pow(x, n)

Pow(x, n)

1
Comments
1 min read
Max Number of K-Sum Pairs

Max Number of K-Sum Pairs

1
Comments
1 min read
Find And Replace in String

Find And Replace in String

1
Comments
2 min read
Longest Univalue Path

Longest Univalue Path

1
Comments
1 min read
Cousins in Binary Tree

Cousins in Binary Tree

1
Comments
2 min read
Number of Islands

Number of Islands

1
Comments
1 min read
Walking Robot Simulation

Walking Robot Simulation

1
Comments
2 min read
Deepest Leaves Sum

Deepest Leaves Sum

Comments
1 min read
Fraction Addition and Subtraction

Fraction Addition and Subtraction

1
Comments
2 min read
Longest Consecutive Sequence

Longest Consecutive Sequence

1
Comments
1 min read
Reorganize String

Reorganize String

1
Comments
1 min read
Longest Word in Dictionary

Longest Word in Dictionary

1
Comments
1 min read
Minimum Deletions to Make Array Beautiful

Minimum Deletions to Make Array Beautiful

1
Comments
2 min read
Implement Trie (Prefix Tree)

Implement Trie (Prefix Tree)

1
Comments
2 min read
Count Number of Texts

Count Number of Texts

1
Comments
2 min read
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
loading...