Solved Convert sorted list to binary search tree problem.