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.
Paper#64263 | Written in 18-Jul-2015Price : $22