☑Kizspy.me
Display the sorted list
Zoom
Delete model "BERT" using delete_by_name("BERT")
Display the updated list
Q2. Binary Search Tree Model Manager (File: PE SU25_Q2.py)
Part 1: Model and BST Implementation
1. Create a class Model with: [0.5 points]
Attributes: name, month, year
2. Implement compareTo(other) method in Model class to compare: [0.5 points]
First by year
Then by month (if years are equal)
Then by name (if time is the same)
3. Create a class BSTNode with: [0.5 points]
Attributes: model, left, right
4. Create a class BSTree with:
incortfmodell. Add a model into the RST using compareToO 10 75 nointel
+ 100%
Close