CSD203_-_PE_-_De01_3966.webp
white_cloud1

CSD203_-_PE_-_De01_3966.webp

☑Kizspy.me
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)
OUTPUT:
(9, K, 1) (5, D, 1) (15, E, 1) (3, G, 1) (12, Q, 0) (7, A, 1) (18, C, 0) (4, P, 1) (14, H, 1)
(3, G, 1) (4, P, 1) (5, D, 1) (7, A, 1) (9, K, 1) (12, Q, 0) (14, H, 1) (15, E, 1) (18, C, 0)
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
CSD203
Thêm bởi
white_cloud1
Ngày thêm
Lượt xem
1,506
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom