Forem

# dsa

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Bitwise AND of Numbers Range

Bitwise AND of Numbers Range

4
Comments
1 min read
Sort Even and Odd Indices Independently

Sort Even and Odd Indices Independently

1
Comments
2 min read
Lowest Common Ancestor of Deepest Leaves

Lowest Common Ancestor of Deepest Leaves

1
Comments
2 min read
Ugly Number

Ugly Number

1
Comments
1 min read
Maximize Number of Subsequences in a String

Maximize Number of Subsequences in a String

1
Comments
2 min read
Unique Binary Search Trees II

Unique Binary Search Trees II

1
Comments
1 min read
Sum Root to Leaf Numbers

Sum Root to Leaf Numbers

1
Comments
2 min read
Minimum Cost For Tickets

Minimum Cost For Tickets

1
Comments
2 min read
Construct K Palindrome Strings

Construct K Palindrome Strings

1
Comments
1 min read
Maximum Gap

Maximum Gap

1
Comments
1 min read
Reconstruct a 2-Row Binary Matrix

Reconstruct a 2-Row Binary Matrix

4
Comments
2 min read
Maximum Product Difference Between Two Pairs

Maximum Product Difference Between Two Pairs

4
Comments
1 min read
Minimum Time to Type Word Using Special Typewriter

Minimum Time to Type Word Using Special Typewriter

2
Comments
2 min read
Shift 2D Grid

Shift 2D Grid

1
Comments
1 min read
Integer Break

Integer Break

Comments
1 min read
Longest Increasing Path in a Matrix

Longest Increasing Path in a Matrix

Comments
2 min read
Regular Expression Matching

Regular Expression Matching

Comments
2 min read
Add Strings

Add Strings

3
Comments
1 min read
Maximum XOR of Two Numbers in an Array

Maximum XOR of Two Numbers in an Array

3
Comments
1 min read
The K Weakest Rows in a Matrix

The K Weakest Rows in a Matrix

3
Comments
2 min read
Unique Email Addresses

Unique Email Addresses

3
Comments
2 min read
Percentage of Letter in String

Percentage of Letter in String

3
Comments 1
1 min read
Sum of Nodes with Even-Valued Grandparent

Sum of Nodes with Even-Valued Grandparent

3
Comments
1 min read
Design Parking System

Design Parking System

3
Comments 1
2 min read
Heaters

Heaters

3
Comments
1 min read
Find All Lonely Numbers in the Array

Find All Lonely Numbers in the Array

4
Comments
1 min read
Find All Duplicates in an Array

Find All Duplicates in an Array

3
Comments
1 min read
Counting Bits

Counting Bits

3
Comments
1 min read
Sudoku Solver

Sudoku Solver

3
Comments
2 min read
Single Element in a Sorted Array

Single Element in a Sorted Array

3
Comments
1 min read
Two Out of Three

Two Out of Three

3
Comments
1 min read
Plus One

Plus One

3
Comments
1 min read
Permutations II

Permutations II

3
Comments
1 min read
Subsets II

Subsets II

Comments
1 min read
Calculate Amount Paid in Taxes

Calculate Amount Paid in Taxes

3
Comments
2 min read
Subtract the Product and Sum of Digits of an Integer

Subtract the Product and Sum of Digits of an Integer

3
Comments
1 min read
Maximum Bags With Full Capacity of Rocks

Maximum Bags With Full Capacity of Rocks

3
Comments
2 min read
Find the Middle Index in Array

Find the Middle Index in Array

3
Comments
1 min read
Unique Paths III

Unique Paths III

Comments
2 min read
Minimum Index Sum of Two Lists

Minimum Index Sum of Two Lists

1
Comments
1 min read
Rank Transform of an Array

Rank Transform of an Array

1
Comments
1 min read
Construct Binary Tree from Preorder and Postorder Traversal

Construct Binary Tree from Preorder and Postorder Traversal

1
Comments
2 min read
Count Number of Teams

Count Number of Teams

1
Comments
1 min read
Teemo Attacking

Teemo Attacking

1
Comments
2 min read
Minimum Operations to Convert Number

Minimum Operations to Convert Number

Comments
2 min read
Majority Element

Majority Element

4
Comments
1 min read
Find Words That Can Be Formed by Characters

Find Words That Can Be Formed by Characters

2
Comments
1 min read
Distant Barcodes

Distant Barcodes

1
Comments
1 min read
Maximum Number of Coins You Can Get

Maximum Number of Coins You Can Get

1
Comments
2 min read
Find Palindrome With Fixed Length

Find Palindrome With Fixed Length

1
Comments
1 min read
Construct Binary Tree from Preorder and Inorder Traversal

Construct Binary Tree from Preorder and Inorder Traversal

4
Comments
1 min read
Arranging Coins

Arranging Coins

4
Comments
1 min read
Vowels of All Substrings

Vowels of All Substrings

2
Comments 3
1 min read
Print Binary Tree

Print Binary Tree

4
Comments
2 min read
Predict the Winner

Predict the Winner

4
Comments
2 min read
Occurrences After Bigram

Occurrences After Bigram

4
Comments
1 min read
Employee Importance

Employee Importance

4
Comments
2 min read
Camelcase Matching

Camelcase Matching

4
Comments
2 min read
Diameter of Binary Tree

Diameter of Binary Tree

4
Comments
1 min read
Rotate Image

Rotate Image

4
Comments
1 min read
loading...