initial problem statement:
you will develop a C program to construct a red and black tree. For a given input sequence the tree is unique by using RB-INSERT on one number at a time. Below is an example:
The input is a sequence of numbers separated by comma, e.g. 1,8,11,2, … You can enter the numbers using an input file and output the tree, or through a command line with one number at a time (with “X” to stop entering and printing the output). The output should reflect the above tree in the pre-order traversal, by listing nodes with B and R indicating the black and red colors. In addtion, please also show the height and the black height of the red and black tree, as well as the second largest element on the tree. A sample output is:
Pre-order traversal of the tree:
1-B; 2-R; 5-R; 8-R, 7-B; 11-B; 14-B; 15-R;
The height of the red and black tree is 4.
The black height of the red and black tree is 2.
The second largest element of the tree is 14.
The code is ready but I am facing compilation errors.
Hello.
I'm an experienced full-time developer.
I can fulfill your needs most accurately and quickly.
I have enough experiences in C.
I enjoy coding, and I value my client's trust and I commit myself to any job, taking full responsibility in completing projects on time.
I believe communication is very important, and you can communicate with me at any time.
I think our trust is very important.
If you hire me, I will do my best for you.
Let's meet and discuss more.
Thanks.
Hello,
I have 30 years experience programming in C.
What is this task? Fix compilation errors? How many errors? What about warnings? Additional testing? I will revise my bid when you provide full specifications.
A milestone payment for the full budget for this project must be deposited with this site before your offer can be accepted.
Alan Idler
Chief Software Architect
Idleswell Software Creations
Dear sir.
I read your request and think I can be the best choice to work on your project.
I've a rich experience in the developments with c and c++, and to fix the compilation errors is easy for me.
I never disappoint clients and their benefits come first. I hope I've the opportunity work with you. Please contact me to discuss more.
Thanks and regards