Forem

# dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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
Add Two Numbers

Add Two Numbers

4
Comments
1 min read
Remove Digit From Number to Maximize Result

Remove Digit From Number to Maximize Result

4
Comments
1 min read
Last Substring in Lexicographical Order

Last Substring in Lexicographical Order

4
Comments
1 min read
Evaluate Division

Evaluate Division

4
Comments
2 min read
Base 7

Base 7

3
Comments
1 min read
Self Dividing Numbers

Self Dividing Numbers

3
Comments
1 min read
Apply Discount to Prices

Apply Discount to Prices

3
Comments
2 min read
Remove Covered Intervals

Remove Covered Intervals

3
Comments
1 min read
Maximum Depth of N-ary Tree

Maximum Depth of N-ary Tree

4
Comments
1 min read
Sort List

Sort List

4
Comments
1 min read
Max Points on a Line

Max Points on a Line

4
Comments
2 min read
Validate Stack Sequences

Validate Stack Sequences

4
Comments
1 min read
Finding 3-Digit Even Numbers

Finding 3-Digit Even Numbers

4
Comments
2 min read
Intersection of Multiple Arrays

Intersection of Multiple Arrays

4
Comments
1 min read
Find Right Interval

Find Right Interval

4
Comments
2 min read
Number of Dice Rolls With Target Sum

Number of Dice Rolls With Target Sum

4
Comments
1 min read
Shortest Path in Binary Matrix

Shortest Path in Binary Matrix

4
Comments
2 min read
Largest Number At Least Twice of Others

Largest Number At Least Twice of Others

3
Comments
1 min read
Basic Calculator

Basic Calculator

3
Comments
2 min read
Check If It Is a Good Array

Check If It Is a Good Array

4
Comments
1 min read
Snakes and Ladders

Snakes and Ladders

4
Comments
3 min read
Subrectangle Queries

Subrectangle Queries

4
Comments
2 min read
Subsets

Subsets

4
Comments
1 min read
Word Pattern

Word Pattern

4
Comments
1 min read
Solve the Equation

Solve the Equation

4
Comments
1 min read
Middle of the Linked List

Middle of the Linked List

3
Comments
1 min read
Find Greatest Common Divisor of Array

Find Greatest Common Divisor of Array

4
Comments
1 min read
Bulb Switcher

Bulb Switcher

4
Comments
1 min read
2 Keys Keyboard

2 Keys Keyboard

4
Comments
1 min read
Scramble String

Scramble String

4
Comments
2 min read
Longer Contiguous Segments of Ones than Zeros

Longer Contiguous Segments of Ones than Zeros

4
Comments
2 min read
Next Greater Element III

Next Greater Element III

4
Comments
1 min read
Maximum Binary Tree

Maximum Binary Tree

4
Comments
2 min read
All Possible Full Binary Trees

All Possible Full Binary Trees

4
Comments
1 min read
loading...