As soon as we started programming, we found to our surprise that it wasn’t as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs. Maurice Wilkes

Convert a BST to a Binary Tree

Language Java | Level Intermediate | Category Data structure | September 6, 2015 8:49 am

Data structure Description

Write a program to convert an array to Binary Search Tree.



All the values from an Array: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
All Binary Tree Values: 0 1  2  3  4  5  6  7  8  9  



No comments available!

Please login to add comments.