update
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
|
||||
|
||||
如果用一个循环数组q[0..m-1]表示队列时,该队列只有一个队列头指针front,不设队列尾指针rear,求这个队列中从队列头到队列尾的元素个数(包含队列头、队列尾)(华赛面试题、腾讯笔试题)。
|
||||
|
||||
有rear指针时:
|
||||
|
||||
Reference in New Issue
Block a user