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.
LeetCode Meditations: Construct Binary Tree from Preorder and Inorder Traversal
Cover image for LeetCode Meditations: Construct Binary Tree from Preorder and Inorder Traversal

LeetCode Meditations: Construct Binary Tree from Preorder and Inorder Traversal

2
Comments
4 min read
1915. Number of Wonderful Substrings
Cover image for 1915. Number of Wonderful Substrings

1915. Number of Wonderful Substrings

Comments
2 min read
Explain Algorithm Complexity Like I'm 10
Cover image for Explain Algorithm Complexity Like I'm 10

Explain Algorithm Complexity Like I'm 10

Comments
1 min read
Best approach to find duplicates in an array

Best approach to find duplicates in an array

6
Comments
2 min read
Flatten Binary Tree to Linked List | LeetCode | Java

Flatten Binary Tree to Linked List | LeetCode | Java

10
Comments
1 min read
Best approach to find duplicates in an array

Best approach to find duplicates in an array

Comments
2 min read
1544. Make The String Great
Cover image for 1544. Make The String Great

1544. Make The String Great

Comments
4 min read
2997. Minimum Number of Operations to Make Array XOR Equal to K
Cover image for 2997. Minimum Number of Operations to Make Array XOR Equal to K

2997. Minimum Number of Operations to Make Array XOR Equal to K

Comments
2 min read
C# Priority Queue
Cover image for C# Priority Queue

C# Priority Queue

12
Comments
3 min read
Recapping DSA
Cover image for Recapping DSA

Recapping DSA

Comments
6 min read
LeetCode Meditations: Kth Smallest Element in a BST
Cover image for LeetCode Meditations: Kth Smallest Element in a BST

LeetCode Meditations: Kth Smallest Element in a BST

Comments
3 min read
834. Sum of Distances in Tree
Cover image for 834. Sum of Distances in Tree

834. Sum of Distances in Tree

Comments
3 min read
1700. Number of Students Unable to Eat Lunch
Cover image for 1700. Number of Students Unable to Eat Lunch

1700. Number of Students Unable to Eat Lunch

Comments
2 min read
2073. Time Needed to Buy Tickets
Cover image for 2073. Time Needed to Buy Tickets

2073. Time Needed to Buy Tickets

Comments
2 min read
514. Freedom Trail
Cover image for 514. Freedom Trail

514. Freedom Trail

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