在线名词解释大全
专业、全面、易懂的全领域名词百科

Givenaqueue{1,2,3,4,5},where1isthefrontand5istherear.Whatwillbethequeuechangedtoafterexecutingthefollowingoperations:enqueue(8),dequeue(),dequeue(),enqueue(9),dequeue(),dequeue(),dequeue(),enqueue(10),

题型:单选题
选项
A. A.10,9,8
B. B.8,9,10
C. C.4,5,8,9,10
D. D.10,9,8,4,5
正确答案:B