check if a binary tree is balanced
find whether there is a route between two nodes
convert array to a binary search tree with minimal height