Modify C program for creating a binary search tree of integers here are the instructions: - 77800

Solution Posted by
jordanblink

jordanblink

Rating : (19)A+
Solution Detail
Price: $15.00
Request Description
Modify C program for creating a binary search tree of integers [Pin It] here are the instructions: You are provided with the attached code for creating a binary search tree of integers. You should modify this code to work on character strings instead of integers. You will need to modify the the tree node structure and you will need to use the strcmp(s1,s2) function to test the lexigraphical order of the string you are inserting against the string pointed to by each node. Follow the same insertion convention as the program now shows for integers. Modify the print function to print the tree in dictionary order. This will require making the print function recursive so it will process sub-trees as it prints.
Solution Description

Modify C program

Attachments
main.c
main.c