☑Kizspy.me
Cargo in the inOrder traversal. You also need to call them in the f3() function.
The expected input/output used to test your code are as follows:
INPUT:
5
data.txt
3
OUTPUT:
Order Queue:
A, Pepsi
E, Tea
B, Gum
G, Candy
H, USB
=====
Cargo Tree:
A, Pepsi, 1500
B, Gum, 120
E, Tea, 1000
G, Candy, 1000
H, USB, 15
=====
Result:
Pepsi
d. f4(): In this task, students need to perform the serving function, including dequeue()
function of the OrderQueue and the remove() function in Cargo Tree. The dequeue()
Lion first Cause in the mich of the In All
Close
Zoom
+ 100%