mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-13 18:00:18 +08:00
fine tune
This commit is contained in:
@@ -150,10 +150,10 @@ int main() {
|
||||
|
||||
/* 元素出队 */
|
||||
int popLastNum = popLast(deque);
|
||||
printf("队尾出队元素 = %d,队尾出队后 deque= ", popLastNum);
|
||||
printf("队尾出队元素 = %d ,队尾出队后 deque= ", popLastNum);
|
||||
printArrayDeque(deque);
|
||||
int popFirstNum = popFirst(deque);
|
||||
printf("队首出队元素 = %d,队首出队后 deque= ", popFirstNum);
|
||||
printf("队首出队元素 = %d ,队首出队后 deque= ", popFirstNum);
|
||||
printArrayDeque(deque);
|
||||
|
||||
/* 获取队列的长度 */
|
||||
|
||||
Reference in New Issue
Block a user