No matter what the problem is, it's always a people problem. Gerald M. Weinberg

Sorted Linked List to Balanced BST

Language Java | Level Intermediate | Category Data structure | September 8, 2015 7:47 am


Data structure Description

Write a program to convert Sorted singly linked list to Balanced Binary search tree.


Output

   					 

Print the List values from List:
9->43->34->11->78->55->NULL
Print the Tree values from Linked List: 9  43  34  11  78  55  

				    

Comments


No comments available!

Please login to add comments.