Hi, I need to create a binary tree with linked lists.the code captures data from input and saves them in linked lists. and i am new to programming so please put all of the code. thank you
Do you want to make a complete binary tree (a tree where every level is full) ?
Actually you could read the input into an array, and construct a tree from it easily.. Though that might not be exactly what you need to do..
Is a tree a type of list .. or can we add build a tree which contains a list at every node which has a string in it. I have this project which it kinda confusing.
Also i just wrote some code where i add a String into the tree but I cant keep adding the rest of the strings withing the file because i dont know how to move through the file.