Question: C++ Help DataStructure, Please help me with commentary in your code. Example of running the program from the command line: tree-example.exe Hello World The resulting
C++ Help DataStructure, Please help me with commentary in your code. 
Example of running the program from the command line:
tree-example.exe Hello World
The resulting output should be:
In Order: d: 1 e: 1 h: 1 l: 3 o: 2 r: 1 w: 1
Reverse Order: w: 1 r: 1 o: 2 l: 3 h: 1 e: 1 d: 1 Total Number of Letters: 10 Lowest Letter Value: d Highest Letter Value: w
Thank you!
Programming Guidelines are followed and Documentation Report with screenshots is created Program Reads input from the argv array Binary Search Tree is used as main data structure Program Traverses the tree and prints out in-order and reverse-order Program Traverses the tree and counts the total of the letters entered20 Program Traverses the tree to display highest and lowest values 20 20 20 20 (alphabetically) Total (Points Possible) 125 Instructions: The goal of this project is to write a program that reads the words the user types at the command prompt (using the 'int argc, char argvll examples from class and in previous projects) and store each unique letter in a Binary Search Tree. When a duplicate is encountered do not store the letter again and instead keep track of the count in the tree. Once the Binary Search tree has been created print out the tree both in in-order and reverse-order. Then print the highest and lowest letters in the (alphabetically) in the Binary Search Tree. Lastly by processing the tree print the total sum of the letters in the words
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
