DEV Community

# dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Determine if String Halves Are Alike

Determine if String Halves Are Alike

4
Comments
1 min read
Average of Levels in Binary Tree

Average of Levels in Binary Tree

4
Comments
1 min read
Goat Latin

Goat Latin

4
Comments
2 min read
Maximum Product of Word Lengths

Maximum Product of Word Lengths

4
Comments
1 min read
Increasing Subsequences

Increasing Subsequences

4
Comments
1 min read
Maximum Length of Repeated Subarray

Maximum Length of Repeated Subarray

4
Comments
1 min read
Construct the Rectangle

Construct the Rectangle

4
Comments
1 min read
Longest Valid Parentheses

Longest Valid Parentheses

4
Comments
1 min read
Smallest Index With Equal Value

Smallest Index With Equal Value

4
Comments
1 min read
Clone Graph

Clone Graph

4
Comments
2 min read
Valid Square

Valid Square

4
Comments
2 min read
Sum of Left Leaves

Sum of Left Leaves

4
Comments
1 min read
1-bit and 2-bit Characters

1-bit and 2-bit Characters

2
Comments
1 min read
Zigzag Conversion

Zigzag Conversion

Comments
1 min read
Count Common Words With One Occurrence

Count Common Words With One Occurrence

Comments
1 min read
K Closest Points to Origin

K Closest Points to Origin

Comments
1 min read
Min Stack

Min Stack

Comments
2 min read
Longest Happy String

Longest Happy String

Comments
1 min read
Peeking Iterator

Peeking Iterator

Comments
2 min read
Largest Number

Largest Number

Comments
1 min read
Reverse Only Letters

Reverse Only Letters

Comments
1 min read
Peak Index in a Mountain Array

Peak Index in a Mountain Array

Comments
1 min read
Maximum Product of Three Numbers

Maximum Product of Three Numbers

Comments
1 min read
Symmetric Tree

Symmetric Tree

1
Comments
1 min read
Maximal Network Rank

Maximal Network Rank

1
Comments
2 min read
Binary Tree Tilt

Binary Tree Tilt

1
Comments
2 min read
Remove Outermost Parentheses

Remove Outermost Parentheses

1
Comments
1 min read
Baseball Game

Baseball Game

2
Comments
2 min read
Letter Tile Possibilities

Letter Tile Possibilities

1
Comments
1 min read
Maximum Twin Sum of a Linked List

Maximum Twin Sum of a Linked List

1
Comments
2 min read
Consecutive Characters

Consecutive Characters

1
Comments
1 min read
Minimum Falling Path Sum

Minimum Falling Path Sum

1
Comments
1 min read
Check Completeness of a Binary Tree

Check Completeness of a Binary Tree

1
Comments
1 min read
Flatten a Multilevel Doubly Linked List

Flatten a Multilevel Doubly Linked List

2
Comments
2 min read
Clumsy Factorial

Clumsy Factorial

4
Comments
1 min read
Thousand Separator

Thousand Separator

3
Comments
1 min read
Maximum Difference Between Node and Ancestor

Maximum Difference Between Node and Ancestor

4
Comments
1 min read
Decode the Slanted Ciphertext

Decode the Slanted Ciphertext

4
Comments
2 min read
Integer to Roman

Integer to Roman

4
Comments
2 min read
Flipping an Image

Flipping an Image

4
Comments
1 min read
Remove Linked List Elements

Remove Linked List Elements

4
Comments
1 min read
Check if Number Has Equal Digit Count and Digit Value

Check if Number Has Equal Digit Count and Digit Value

4
Comments
1 min read
Find Elements in a Contaminated Binary Tree

Find Elements in a Contaminated Binary Tree

4
Comments
2 min read
Delete Columns to Make Sorted

Delete Columns to Make Sorted

4
Comments
2 min read
Ransom Note

Ransom Note

4
Comments
1 min read
Sort the Matrix Diagonally

Sort the Matrix Diagonally

4
Comments
2 min read
Invert Binary Tree

Invert Binary Tree

4
Comments
1 min read
Detect Capital

Detect Capital

4
Comments
1 min read
Height Checker

Height Checker

4
Comments
1 min read
Container With Most Water

Container With Most Water

4
Comments
1 min read
Rotate Array

Rotate Array

4
Comments
1 min read
Insert Delete GetRandom O(1) - Duplicates allowed

Insert Delete GetRandom O(1) - Duplicates allowed

4
Comments
2 min read
Spiral Matrix II

Spiral Matrix II

4
Comments
1 min read
Binary Tree Level Order Traversal II

Binary Tree Level Order Traversal II

4
Comments
1 min read
Binary Tree Zigzag Level Order Traversal

Binary Tree Zigzag Level Order Traversal

4
Comments
1 min read
Binary Prefix Divisible By 5

Binary Prefix Divisible By 5

4
Comments
1 min read
Length of Last Word

Length of Last Word

4
Comments
1 min read
Group Anagrams

Group Anagrams

4
Comments
1 min read
Sum of Digits of String After Convert

Sum of Digits of String After Convert

4
Comments
1 min read
Word Search

Word Search

4
Comments
2 min read
loading...