DEV Community

# dsa

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
What is HashMap in Java - Explained with examples.

What is HashMap in Java - Explained with examples.

5
Comments
3 min read
Data Structures 101: Introduction to Data Structures and Algorithms.

Data Structures 101: Introduction to Data Structures and Algorithms.

7
Comments 2
2 min read
Introduction To Data Structures and Algorithms

Introduction To Data Structures and Algorithms

8
Comments 1
2 min read
Balance a Binary Search Tree

Balance a Binary Search Tree

5
Comments
1 min read
Implement Stack using Queues

Implement Stack using Queues

4
Comments
2 min read
Sum of Digits in Base K

Sum of Digits in Base K

4
Comments
1 min read
Permutation Sequence

Permutation Sequence

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

Lowest Common Ancestor of a Binary Tree

4
Comments
2 min read
Image Smoother

Image Smoother

3
Comments
2 min read
Validate IP Address

Validate IP Address

4
Comments
2 min read
Divide Two Integers

Divide Two Integers

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

Check if Every Row and Column Contains All Numbers

1
Comments
1 min read
Keep Multiplying Found Values by Two

Keep Multiplying Found Values by Two

1
Comments
1 min read
Find Resultant Array After Removing Anagrams

Find Resultant Array After Removing Anagrams

1
Comments
2 min read
Next Greater Element II

Next Greater Element II

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

Find Largest Value in Each Tree Row

1
Comments
1 min read
Fruit Into Baskets

Fruit Into Baskets

4
Comments
2 min read
Valid Palindrome II

Valid Palindrome II

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

Number Of Rectangles That Can Form The Largest Square

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

N-ary Tree Level Order Traversal

4
Comments
1 min read
Binary Search

Binary Search

4
Comments
1 min read
Multiply Strings

Multiply Strings

4
Comments
1 min read
Contains Duplicate III

Contains Duplicate III

4
Comments
1 min read
To Lower Case

To Lower Case

4
Comments
1 min read
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
Heaters

Heaters

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

Find All Lonely Numbers in the Array

3
Comments
1 min read
Find All Duplicates in an Array

Find All Duplicates in an Array

3
Comments
1 min read
Design Parking System

Design Parking System

3
Comments
2 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
loading...