AI Generated Video

資料結構:堆疊與佇列

Created November 16, 2025

About this video

Check out this video I made with revid.ai

https://www.revid.ai/view/-UR3JtnU56PQgsP8sqkgb

Try the AI TikTok Video Generator

Create your own version in minutes

Video Transcript

Full text from the video

0:00

你有沒有想過 電腦在「排事 情」的時候 也是有規矩 有隊伍的

0:00

在這一章 我們要認識兩 個超重要的資 料結構 ** Stack

0:00

(堆疊)** 跟** Queue (佇列)** 先從 Stack 開始

0:00

Stack的 規則只有一句 話 **後進先出 **

0:00

Last In First Out 就像把書一疊 一疊往上放 最後放上去的

0:00

那一本 一定是最先被 拿走 在程式裡 我們用兩個基

0:00

本操作 ** push **把資料「 壓到最上面」 ** pop **

0:00

把最上面的資 料「彈出來」 只允許在頂端 操作 所以 Stack

Impact

240,909+ Short Videos
Created By Over 14,258+ Creators

Whether you're sharing personal experiences, teaching moments, or entertainment - we help you tell stories that go viral.

No credit card required