在线名词解释大全 - 数据结构 - 详细

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
正确答案:
相关推荐
扫描二维码
关注公众平台