DEV Community

# dsa

Posts

ūüĎč Sign in for the ability to sort posts by relevant, latest, or top.
Introduction To Data Structures and Algorithms

Introduction To Data Structures and Algorithms

Reactions 8 Comments 1
2 min read
Image Smoother

Image Smoother

Reactions 3 Comments
2 min read
Balance a Binary Search Tree

Balance a Binary Search Tree

Reactions 5 Comments
1 min read
Implement Stack using Queues

Implement Stack using Queues

Reactions 4 Comments
2 min read
Sum of Digits in Base K

Sum of Digits in Base K

Reactions 4 Comments
1 min read
Permutation Sequence

Permutation Sequence

Reactions 4 Comments
1 min read
Lowest Common Ancestor of a Binary Tree

Lowest Common Ancestor of a Binary Tree

Reactions 4 Comments
2 min read
Validate IP Address

Validate IP Address

Reactions 4 Comments
2 min read
Check if Every Row and Column Contains All Numbers

Check if Every Row and Column Contains All Numbers

Reactions 1 Comments
1 min read
Keep Multiplying Found Values by Two

Keep Multiplying Found Values by Two

Reactions 1 Comments
1 min read
Find Resultant Array After Removing Anagrams

Find Resultant Array After Removing Anagrams

Reactions 1 Comments
2 min read
Next Greater Element II

Next Greater Element II

Reactions 1 Comments
1 min read
Find Largest Value in Each Tree Row

Find Largest Value in Each Tree Row

Reactions 1 Comments
1 min read
Fruit Into Baskets

Fruit Into Baskets

Reactions 4 Comments
2 min read
Valid Palindrome II

Valid Palindrome II

Reactions 4 Comments
1 min read
Number Of Rectangles That Can Form The Largest Square

Number Of Rectangles That Can Form The Largest Square

Reactions 4 Comments
1 min read
N-ary Tree Level Order Traversal

N-ary Tree Level Order Traversal

Reactions 4 Comments
1 min read
Binary Search

Binary Search

Reactions 4 Comments
1 min read
Multiply Strings

Multiply Strings

Reactions 4 Comments
1 min read
Contains Duplicate III

Contains Duplicate III

Reactions 4 Comments
1 min read
To Lower Case

To Lower Case

Reactions 4 Comments
1 min read
Bitwise AND of Numbers Range

Bitwise AND of Numbers Range

Reactions 4 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

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

Maximum XOR of Two Numbers in an Array

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

The K Weakest Rows in a Matrix

Reactions 3 Comments
2 min read
Unique Email Addresses

Unique Email Addresses

Reactions 3 Comments
2 min read
Percentage of Letter in String

Percentage of Letter in String

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

Sum of Nodes with Even-Valued Grandparent

Reactions 3 Comments
1 min read
Heaters

Heaters

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

Find All Lonely Numbers in the Array

Reactions 3 Comments
1 min read
Find All Duplicates in an Array

Find All Duplicates in an Array

Reactions 3 Comments
1 min read
Design Parking System

Design Parking System

Reactions 3 Comments
2 min read
Counting Bits

Counting Bits

Reactions 3 Comments
1 min read
Sudoku Solver

Sudoku Solver

Reactions 3 Comments
2 min read
Single Element in a Sorted Array

Single Element in a Sorted Array

Reactions 3 Comments
1 min read
Two Out of Three

Two Out of Three

Reactions 3 Comments
1 min read
Sort Even and Odd Indices Independently

Sort Even and Odd Indices Independently

Reactions 1 Comments
2 min read
Lowest Common Ancestor of Deepest Leaves

Lowest Common Ancestor of Deepest Leaves

Reactions 1 Comments
2 min read
Ugly Number

Ugly Number

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

Maximize Number of Subsequences in a String

Reactions 1 Comments
2 min read
Unique Binary Search Trees II

Unique Binary Search Trees II

Reactions 1 Comments
1 min read
Sum Root to Leaf Numbers

Sum Root to Leaf Numbers

Reactions 1 Comments
2 min read
Minimum Cost For Tickets

Minimum Cost For Tickets

Reactions 1 Comments
2 min read
Construct K Palindrome Strings

Construct K Palindrome Strings

Reactions 1 Comments
1 min read
Maximum Gap

Maximum Gap

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

Reconstruct a 2-Row Binary Matrix

Reactions 4 Comments
2 min read
Maximum Product Difference Between Two Pairs

Maximum Product Difference Between Two Pairs

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

Minimum Time to Type Word Using Special Typewriter

Reactions 2 Comments
2 min read
Shift 2D Grid

Shift 2D Grid

Reactions 1 Comments
1 min read
Plus One

Plus One

Reactions 3 Comments
1 min read
Permutations II

Permutations II

Reactions 3 Comments
1 min read
Subsets II

Subsets II

Comments
1 min read
Calculate Amount Paid in Taxes

Calculate Amount Paid in Taxes

Reactions 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

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

Maximum Bags With Full Capacity of Rocks

Reactions 3 Comments
2 min read
Find the Middle Index in Array

Find the Middle Index in Array

Reactions 3 Comments
1 min read
Unique Paths III

Unique Paths III

Comments
2 min read
loading...