110k views
4 votes
EnQueue(X): Thêm phần tử X vào Queue

DeQueue() : Lấy 1 phần tử ra khỏi Queue
Hãy cho biết phần tử ở đầu của Queue có giá trị bằng bao nhiêu sau khi thực hiện lần lượt các phép toán sau:
EnQueue(1); EnQueue(2); DeQueue(); EnQueue(3);
EnQueue(4); DeQueue(); DeQueue();

1 Answer

6 votes
Yes that is right no matter what you are talking about I’m not sure tho
User Jhanson
by
5.6k points