Update stack and queue.

This commit is contained in:
Yudong Jin
2022-11-30 02:27:26 +08:00
parent 53cc651af2
commit 8669e06414
24 changed files with 705 additions and 186 deletions

View File

@ -35,7 +35,8 @@ int main(){
cout << "队列长度 size = " << size << endl;
/* 判断队列是否为空 */
bool isEmpty = queue.empty();
bool empty = queue.empty();
cout << "队列是否为空 = " << empty << endl;
return 0;
}