DEV Community

# dsa

Posts

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

Continuous Subarray Sum

4
Comments
1 min read
Game of Life

Game of Life

3
Comments
2 min read
Minimize Maximum Pair Sum in Array

Minimize Maximum Pair Sum in Array

4
Comments
1 min read
Find Bottom Left Tree Value

Find Bottom Left Tree Value

4
Comments
1 min read
Check if the Sentence Is Pangram

Check if the Sentence Is Pangram

4
Comments
1 min read
Unique Morse Code Words

Unique Morse Code Words

4
Comments
1 min read
Sqrt(x)

Sqrt(x)

1
Comments
1 min read
Guess Number Higher or Lower

Guess Number Higher or Lower

1
Comments
1 min read
All Paths From Source to Target

All Paths From Source to Target

1
Comments
1 min read
Number of Enclaves

Number of Enclaves

1
Comments
2 min read
Maximum Number of Weeks for Which You Can Work

Maximum Number of Weeks for Which You Can Work

4
Comments
2 min read
How Many Numbers Are Smaller Than the Current Number

How Many Numbers Are Smaller Than the Current Number

4
Comments
1 min read
Populating Next Right Pointers in Each Node

Populating Next Right Pointers in Each Node

4
Comments
2 min read
Find Lucky Integer in an Array

Find Lucky Integer in an Array

3
Comments
1 min read
Minimum Absolute Difference

Minimum Absolute Difference

4
Comments
1 min read
String Compression

String Compression

1
Comments
2 min read
Shuffle the Array

Shuffle the Array

1
Comments
1 min read
Valid Triangle Number

Valid Triangle Number

1
Comments
1 min read
Longest Happy Prefix

Longest Happy Prefix

1
Comments
1 min read
Longest Path With Different Adjacent Characters

Longest Path With Different Adjacent Characters

1
Comments
2 min read
Restore IP Addresses

Restore IP Addresses

1
Comments
1 min read
Relative Sort Array

Relative Sort Array

1
Comments
1 min read
Dungeon Game

Dungeon Game

4
Comments
2 min read
Kids With the Greatest Number of Candies

Kids With the Greatest Number of Candies

3
Comments 1
2 min read
Sort an Array

Sort an Array

4
Comments
1 min read
Design Underground System

Design Underground System

4
Comments
3 min read
Daily Temperatures

Daily Temperatures

3
Comments
1 min read
Longest Palindrome by Concatenating Two Letter Words

Longest Palindrome by Concatenating Two Letter Words

3
Comments
1 min read
Implement strStr()

Implement strStr()

3
Comments
1 min read
Number of Equivalent Domino Pairs

Number of Equivalent Domino Pairs

3
Comments
1 min read
Number of Ways to Buy Pens and Pencils

Number of Ways to Buy Pens and Pencils

3
Comments 1
1 min read
Append K Integers With Minimal Sum

Append K Integers With Minimal Sum

3
Comments
2 min read
Replace Elements with Greatest Element on Right Side

Replace Elements with Greatest Element on Right Side

3
Comments
2 min read
Array Partition I

Array Partition I

3
Comments
1 min read
Running Sum of 1d Array

Running Sum of 1d Array

3
Comments
1 min read
Simplified Fractions

Simplified Fractions

3
Comments
1 min read
Find N Unique Integers Sum up to Zero

Find N Unique Integers Sum up to Zero

3
Comments
1 min read
N-th Tribonacci Number

N-th Tribonacci Number

3
Comments
1 min read
Minimum Add to Make Parentheses Valid

Minimum Add to Make Parentheses Valid

3
Comments
1 min read
Intersection of Two Linked Lists

Intersection of Two Linked Lists

3
Comments
3 min read
Truncate Sentence

Truncate Sentence

4
Comments
1 min read
Minimize Result by Adding Parentheses to Expression

Minimize Result by Adding Parentheses to Expression

3
Comments
2 min read
loading...