koma100
koma100
只要有BEYOND,就不会有世界末日!
关注数: 2
粉丝数: 362
发帖数: 1,476
关注贴吧数: 19
【有没有高手会这道编程题啊!!!急啊,在线等!!!】 随便用什么语言编出来都行,马上就要用了,感激不尽啦!!!A deque is a data structure consisting of a list of items,on which the following operations are possible: Push(X,D):Insert item X on the front end of the deque D. Pop(D):Remove the front item from deque D and return it. Inject(X,D):Insert item X on the rear end of deque D. Eject(D):Remove the rear item from deque D and return it.Write routines to support the deque that take O(1) time per operation.
首页
1
2
下一页