hello-algo/zh-hant/docs/chapter_stack_and_queue/index.md

231 B

堆疊與佇列

堆疊與佇列

!!! abstract

堆疊如同疊貓貓,而佇列就像貓貓排隊。

兩者分別代表先入後出和先入先出的邏輯關係。