BILINGUAL WORD CARD · RANK 93

queue

🚶 First-In, First-Out (FIFO) waiting line

FIFO container in C++ STL.

中文对照 · Chinese

🚶 排队买奶茶:先排队的先买到 (FIFO)

常用于广度优先搜索(BFS)迷宫最短路。

Code example

queue<int> q;
q.push(1);
Explore 100 bilingual word cards →