Algorithm Notes: Traversal of Binary Tree
Mostly we know that the traversal of binary tree can be easily done by recursion....
Algorithm Notes: Understanding of Binary Search
Recently, I have recovered my algorithm praticing. It's like something is messing in my mind, maybe due to the shallow understanding before. When I tried to implement a binary search to find the first number that is not less than...
Algorithm Notes: Binary Heap
A Binary Heap is a complete Binary Tree. It is either a Min Heap, where parent node's value is less than or equal to its children's, or a Max Heap, where parent node's value is greater than or equal to...