Forem

# dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Factorial Trailing Zeroes

Factorial Trailing Zeroes

Comments
1 min read
Basic Calculator II

Basic Calculator II

3
Comments
1 min read
All Ancestors of a Node in a Directed Acyclic Graph

All Ancestors of a Node in a Directed Acyclic Graph

3
Comments
2 min read
Unique Paths II

Unique Paths II

3
Comments
2 min read
Best Time to Buy and Sell Stock

Best Time to Buy and Sell Stock

3
Comments
1 min read
Jump Game III

Jump Game III

3
Comments
1 min read
Insert Delete GetRandom O(1)

Insert Delete GetRandom O(1)

3
Comments
2 min read
Power of Three

Power of Three

3
Comments
1 min read
Repeated Substring Pattern

Repeated Substring Pattern

Comments
1 min read
Keyboard Row

Keyboard Row

3
Comments
1 min read
Construct Binary Search Tree from Preorder Traversal

Construct Binary Search Tree from Preorder Traversal

3
Comments
2 min read
Push Dominoes

Push Dominoes

3
Comments
2 min read
Find Center of Star Graph

Find Center of Star Graph

3
Comments
1 min read
Unique Binary Search Trees

Unique Binary Search Trees

3
Comments
1 min read
3Sum

3Sum

3
Comments
1 min read
Random Flip Matrix

Random Flip Matrix

3
Comments
2 min read
Reverse Prefix of Word

Reverse Prefix of Word

3
Comments
1 min read
Removing Minimum Number of Magic Beans

Removing Minimum Number of Magic Beans

3
Comments
2 min read
Sort Array by Increasing Frequency

Sort Array by Increasing Frequency

3
Comments
1 min read
Check if There Is a Valid Parentheses String Path

Check if There Is a Valid Parentheses String Path

Comments
2 min read
Longest Common Subsequence

Longest Common Subsequence

3
Comments
1 min read
Design a Stack With Increment Operation

Design a Stack With Increment Operation

3
Comments
2 min read
Contains Duplicate

Contains Duplicate

3
Comments
1 min read
Palindromic Substrings

Palindromic Substrings

Comments
1 min read
Check if Binary String Has at Most One Segment of Ones

Check if Binary String Has at Most One Segment of Ones

Comments
1 min read
Sort the Jumbled Numbers

Sort the Jumbled Numbers

Comments
2 min read
Sequentially Ordinal Rank Tracker

Sequentially Ordinal Rank Tracker

3
Comments
3 min read
Linked List Random Node

Linked List Random Node

3
Comments
2 min read
Insert Interval

Insert Interval

3
Comments
1 min read
Find All Anagrams in a String

Find All Anagrams in a String

3
Comments
1 min read
Jump Game II

Jump Game II

3
Comments
1 min read
K Divisible Elements Subarrays

K Divisible Elements Subarrays

3
Comments
2 min read
Binary Search

Binary Search

6
Comments 2
2 min read
Find Smallest Letter Greater Than Target

Find Smallest Letter Greater Than Target

3
Comments
1 min read
Binary Search Tree Iterator

Binary Search Tree Iterator

3
Comments
2 min read
Remove All Adjacent Duplicates in String II

Remove All Adjacent Duplicates in String II

3
Comments
1 min read
Remove Invalid Parentheses

Remove Invalid Parentheses

3
Comments
1 min read
Design an ATM Machine

Design an ATM Machine

Comments
3 min read
Check If It Is a Straight Line

Check If It Is a Straight Line

Comments
1 min read
Is Graph Bipartite?

Is Graph Bipartite?

Comments
2 min read
Count Elements With Strictly Smaller and Greater Elements

Count Elements With Strictly Smaller and Greater Elements

3
Comments
1 min read
Count of Matches in Tournament

Count of Matches in Tournament

3
Comments
1 min read
Network Delay Time

Network Delay Time

Comments
1 min read
Longest Subarray of 1's After Deleting One Element

Longest Subarray of 1's After Deleting One Element

Comments
1 min read
Third Maximum Number

Third Maximum Number

3
Comments
1 min read
Subarray Sum Equals K

Subarray Sum Equals K

3
Comments
1 min read
Reverse Bits

Reverse Bits

3
Comments
1 min read
Maximum Product Subarray

Maximum Product Subarray

3
Comments
1 min read
Relative Ranks

Relative Ranks

3
Comments
1 min read
House Robber

House Robber

3
Comments
1 min read
Shortest Path Visiting All Nodes

Shortest Path Visiting All Nodes

3
Comments
1 min read
Rearrange Words in a Sentence

Rearrange Words in a Sentence

3
Comments
1 min read
Add Binary

Add Binary

3
Comments
1 min read
Maximum Product After K Increments

Maximum Product After K Increments

3
Comments
2 min read
Minimum Operations to Make the Array Increasing

Minimum Operations to Make the Array Increasing

3
Comments
1 min read
Remove Zero Sum Consecutive Nodes from Linked List

Remove Zero Sum Consecutive Nodes from Linked List

3
Comments
1 min read
Rectangle Area

Rectangle Area

3
Comments
1 min read
Linked List Cycle

Linked List Cycle

3
Comments
2 min read
Jump Game

Jump Game

3
Comments
1 min read
Split Linked List in Parts

Split Linked List in Parts

3
Comments
2 min read
loading...