☑Kizspy.me
BstStudent class to print out the list of students who have not completed the course in
descending order of ID. Hint: copy inOrder(...), _inOrder(...) (in the BstStudent class) into
print(), print_not_completed(...) and modify these two functions accordingly, then call print()
in f3().
The input and expected output used to test your code are as follows:
INPUT:
m = 9
Input a question: 3 (choose f3() to run)
OUTPUT:
2
Zoom
(18, C, 0) (12, Q, 0) (5, D, 0)
d. f4():Search and update "Completed" for student with ID-5 on both structures (Linked List
and BST). Hint: You need to implement the search_update_sll(...) function in the SIIStudent
class and search_update_bst(...) in BstStudent class to perform the request given in f4().
The input and expected output used to test your code are as follows:
INPUT:
m = 9
Input a question: 4 (choose f4() to run)
+100%
Close