solve balanced binary tree, convert sorted list to binary search tree and minimum depth of binary tree