DEV Community

Algorithms

Heap, Binary Tree, Data Structure it doesn't matter. This tag should be used for anything Algorithm & Data Structure focused.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Leetcode diary: 6. Zigzag Conversion [Explanation enhanced]

Leetcode diary: 6. Zigzag Conversion [Explanation enhanced]

7
Comments
3 min read
Monotonic Array - Java Solution

Monotonic Array - Java Solution

44
Comments
3 min read
Subsets/Power-set, A FAANG Interview Question - Java Solution

Subsets/Power-set, A FAANG Interview Question - Java Solution

47
Comments
3 min read
Basics of the Binary Tree

Basics of the Binary Tree

6
Comments
3 min read
The Longest Palindromic Sub-string

The Longest Palindromic Sub-string

6
Comments
4 min read
Breadth-First Search

Breadth-First Search

6
Comments 1
3 min read
Leetcode diary: 957. Prison Cells After N Days [No trick explanation]

Leetcode diary: 957. Prison Cells After N Days [No trick explanation]

3
Comments
5 min read
Data Structure Algorithms: Linear Search

Data Structure Algorithms: Linear Search

7
Comments
1 min read
Leetcode diary:675. Cut Off Trees for Golf Event [hard, BST]

Leetcode diary:675. Cut Off Trees for Golf Event [hard, BST]

5
Comments
3 min read
Day 7 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#88.Merge Sorted Array(Easy/JavaScript)

Day 7 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#88.Merge Sorted Array(Easy/JavaScript)

7
Comments
3 min read
Day 6 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1534.Count Good Triplets(Easy/JavaScript)

Day 6 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#1534.Count Good Triplets(Easy/JavaScript)

6
Comments
4 min read
Giant Squid

Giant Squid

4
Comments
5 min read
Day 5 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#56.Merge Intervals(Medium/JavaScript)

Day 5 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#56.Merge Intervals(Medium/JavaScript)

8
Comments
3 min read
Hydrothermal Venture

Hydrothermal Venture

5
Comments
3 min read
Check if a number is even using recursion

Check if a number is even using recursion

4
Comments 1
1 min read
Get the integers within a range (x, y) using recursion

Get the integers within a range (x, y) using recursion

4
Comments
1 min read
Compute the sum of an array of integers using Recursion

Compute the sum of an array of integers using Recursion

6
Comments
1 min read
Day 4 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#443.String Compression(Medium/JavaScript)

Day 4 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#443.String Compression(Medium/JavaScript)

8
Comments
4 min read
Sum all numbers in an array containing nested arrays using recursion

Sum all numbers in an array containing nested arrays using recursion

3
Comments
1 min read
Lanternfish

Lanternfish

7
Comments
3 min read
What is Software Engineering?

What is Software Engineering?

3
Comments
4 min read
Leetcode diary: 207. Course Schedule [backtracking, graph]

Leetcode diary: 207. Course Schedule [backtracking, graph]

6
Comments
3 min read
The Treachery of Whales

The Treachery of Whales

6
Comments 1
3 min read
Leetcode 909 Snakes and Ladders

Leetcode 909 Snakes and Ladders

6
Comments
2 min read
LeetCode - Single Number

LeetCode - Single Number

6
Comments 1
3 min read
loading...