Forem

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.
DAY 62 - Flatten a Binary Tree into a linked list
Cover image for DAY 62 - Flatten a Binary Tree into a linked list

DAY 62 - Flatten a Binary Tree into a linked list

1
Comments
3 min read
Implementing a hash table with separate chaining for collisions resolution
Cover image for Implementing a hash table with separate chaining for collisions resolution

Implementing a hash table with separate chaining for collisions resolution

Comments
22 min read
DAY 61 - Serialize and Deserialize Binary Tree
Cover image for DAY 61 - Serialize and Deserialize Binary Tree

DAY 61 - Serialize and Deserialize Binary Tree

Comments
4 min read
LeetCode 2801 (Hard, Acceptance Level 14.5%). Count Stepping Numbers in Range. DP. Efficiently handles large inputs (10^9 + 7).
Cover image for LeetCode 2801 (Hard, Acceptance Level 14.5%). Count Stepping Numbers in Range. DP. Efficiently handles large inputs (10^9 + 7).

LeetCode 2801 (Hard, Acceptance Level 14.5%). Count Stepping Numbers in Range. DP. Efficiently handles large inputs (10^9 + 7).

7
Comments 2
4 min read
DAY 57 - Binary Tree Maximum Path Sum
Cover image for DAY 57 - Binary Tree Maximum Path Sum

DAY 57 - Binary Tree Maximum Path Sum

Comments
3 min read
DAY 56 - Binary Tree Questions(I)
Cover image for DAY 56 - Binary Tree Questions(I)

DAY 56 - Binary Tree Questions(I)

Comments
3 min read
User Defined Algorithms
Cover image for User Defined Algorithms

User Defined Algorithms

Comments
4 min read
Max Sum of Rectangle No Larger Than K

Max Sum of Rectangle No Larger Than K

Comments
6 min read
DAY 55 - Traversals in a Binary Tree Part 2
Cover image for DAY 55 - Traversals in a Binary Tree Part 2

DAY 55 - Traversals in a Binary Tree Part 2

Comments
3 min read
What is Base62 Conversion?

What is Base62 Conversion?

21
Comments 3
3 min read
DAY 54 - Traversals in a Binary Tree
Cover image for DAY 54 - Traversals in a Binary Tree

DAY 54 - Traversals in a Binary Tree

Comments
3 min read
Exploring Genetic Algorithms with Ruby

Exploring Genetic Algorithms with Ruby

33
Comments 11
3 min read
Unleash the Power of Newton's Method - The World's Fastest Square Root Algorithm
Cover image for Unleash the Power of Newton's Method - The World's Fastest Square Root Algorithm

Unleash the Power of Newton's Method - The World's Fastest Square Root Algorithm

Comments
5 min read
Merge Sort
Cover image for Merge Sort

Merge Sort

1
Comments 2
1 min read
DAY 51 - Power of a Number n

DAY 51 - Power of a Number n

Comments
2 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.