How to Turn a Binary Search Tree into a Increasing Order Search Tree? March 2, 2019 algorithms, c / c++, data structure, DFS No Comments Given a tree, rearrange the tree in in-order so that the leftmost node in the tree is now the root of the tree, and every node has no left … [Continue Reading...]
Finding Two Numbers of Given Sum in Binary Search Tree December 11, 2018 algorithms, BFS, c / c++, DFS, java No Comments Given a binary search tree and a target, find out if there are any two numbers in the BST that sums up to this target. Given a Binary Search … [Continue Reading...]