On two occasions I have been asked [by members of Parliament]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. Charles Babbage

BST to LinkedList

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


Data structure Description

Write a program to convert Binary Search Tree to Linked list.


Output

   					 

All Binary Tree Values: -13  6  7  
Print the Linked list values:-13->6->7->NULL
Linked list head data:-13
Linked list tail data:7

				    

Comments


No comments available!

Please login to add comments.