Given the queue: Q: ["cherry", "orange", "grape"] After the operation: Q.enqueue("apple"), Q contains ["cherry", "orange
Posted: Tue Jul 12, 2022 8:06 am
Given the queue: Q: ["cherry", "orange", "grape"] After the operation: Q.enqueue("apple"), Q contains ["cherry", "orange", "grape", "apple"]. Which value will be returned when Q.dequeue() is called? "grape" "cherry" O "orange" O "apple"