跳到主要内容

1 篇文档带有标签「queue」

查看所有标签

Queue

A queue is a fundamental linear data structure in computer science that follows the First-In-First-Out (FIFO) principle. Just like a real-world queue (e.g., people lining up at a ticket counter), the first element added to the queue will be the first one to be removed.