https://www.answers.com/homework-help/que ... -q97528258
) this is not good
2. Binary Search Trees (BST) (5p) The wizards of Hogwarts have lost their memories. All they have is a badge with their last name, first name and a score. Help them remember which of the 4 houses they belong to. (1p) Create a Sorcerer class with the fields last name, first name, score, house. Add them constructors and methods needed. (0.5p) Declare several Sorcerer type objects and add them to the BST. When you press different options (1, 2, 3, 4, 5), you have to do the operations following: a) (0.25p) Show wizards sorted in ascending order according to their score b) (0.25p) Display the total score of a house (we enter key 2 and the name of the house) c) (1p) View Members of Each House of Hogwarts by Category and Refresh each person's "house" field, using the BST. - if the score is between 0 and 5000, the house is Hufflepuff - if the score is between 5000 and 20000, the house is Gryffindor - if the score is between 20000 and 50000, the house is Ravenclaw - if the score is >>50000, the house is Slytherin. For example, we will display: - Maison Hufflepuff: Cedric Diggory, 2000 - Maison Gryffindor: Harry Potter, 10000; Hermione Granger, 17000 - Maison Ravenclaw: Luna Lovegood, 31000 - Maison Slytherin: Draco Malfoy, 60000; Severus Snape, 150000. d) (1p) Congratulations
