Binary Tree Traversal

binary tree!!!
I want to be straightforward- my project consist of certain steps as follow:
-I want to traverse by level a binary tree in four languages:
-c#
-PHP
-Java
-Python
as much as possible it will be used common variables from a program language to another(because it is an academic project)
The source of the binary tree elements will be an external file named -for example tree.txt-these will be an input file for the binary tree!!! the script will read this file and will construct a binary tree from the text source. The text can consist of strings or numbers- this will be choosen at programmer’s choice. the script will traverse this binary tree by level and will write the result to the same source file without overwriting it. To be more precisely it will be written to the botton of that file -or immediately after input text.

Leave a Reply

Your email address will not be published. Required fields are marked *