☑Kizspy.me
function, if this Cargo is found in the Cargo Tree, remove it out of the tree, and then return
its price; if not found, return 0. You also need to call these functions in the f4() function:
dequeue(), search(), remove().
The expected input/output used to test your code are as follows:
INPUT:
3
data.txt
4
OUTPUT:
Before
Order Queue:
A, Pepsi
E, Tea
B, Gum
=========
Cargo Tree:
A, Pepsi, 1500
B, Gum, 120
E, Tea, 1000
=========
After
Zoom
+ 100%
Close