首页
/
每日頭條
/
知識
/
簡述棧和線性表的區别和聯系
簡述棧和線性表的區别和聯系
更新时间:2026-01-26 02:02:01

  線性表是最常用、最簡單的一種線性結構。

  棧是特殊的線性表,是隻允許在一端進行插入和删除的線性表。允許插入和删除的叫棧頂,反之則是棧底。棧的插入稱為進棧,删除稱為出棧。棧的特性是:後進先出,所以棧也叫後進先出表,簡稱LIFO表(LastInFirstOut)

Comments
Welcome to tft每日頭條 comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Copyright 2023-2026 - www.tftnews.com All Rights Reserved