首页
登录
从业资格
A push operation adds an item to the top
A push operation adds an item to the top
资格题库
2022-08-02
36
问题
A push operation adds an item to the top of a (73).A.queue B.tree C.stack D.date structure
选项
A.queue
B.tree
C.stack
D.date structure
答案
C
解析
推动操作将项目添加到____顶部。A 线性表B树状图 C栈 D数据结构栈(stack)又名堆栈,它是一种运算受限的线性表。其限制是仅允许在表的一端进行插入和删除运算。这一端被称为栈顶,相对地,把另一端称为栈底。向一个栈插入新元素又称作进栈、入栈或压栈,它是把新元素放到栈顶元素的上面,使之成为新的栈顶元素;从一个栈删除元素又称作出栈或退栈,它是把栈顶元素删除掉,使其相邻的元素成为新的栈顶元素。
转载请注明原文地址:https://tihaiku.com/congyezige/2425528.html
本试题收录于:
初级程序员题库软件水平考试初中高级分类
初级程序员
软件水平考试初中高级
相关试题推荐
Thetwogoalsofanoperationsystemare
Theoperationofremovinganelementfro
Apushoperationaddsanitemtothetop
Apushoperationaddsanitemtothetop
Theoperationofremovinganelementfro
随机试题
[originaltext]M:SharonEppersonjoinsusnow,she’sacorrespondentforCNBC,
Mostworthwhilecareersrequiresomekindofspecializedtraining.Ideally,
A、Peopleseldomwatchadvertisementsinholiday.B、Peopleseldomgivesportsequ
Climatechangemaybereal,butit’sstillnoteasybein
Mostparents,Isuppose,havehadtheexperienceofreadingabedtimestory
[originaltext]M:Hi,Rose,youaresoabsorbedthatyoudidn’tevenknowIcame
C
排尿反射的低级中枢位于()。A.L1-5 B.L2 C.S1 D.S2-
房地产市场中,引起需求增加或减少的原因不包括( )。A.未来预期收益变化 B
发包人未经竣工验收擅自使用工程的,其竣工日期应自()之日起算。A.补充进行竣工验
最新回复
(
0
)