首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
带链栈空的条件是( )。
带链栈空的条件是( )。
admin
2022-09-09
17
问题
带链栈空的条件是( )。
选项
A、top=bottom=NULL
B、top=﹣1且bottom=NULL
C、top=NULL且bottom=﹣1
D、top=bottom=﹣1
答案
A
解析
在带链栈中,只会出现栈空和非空两种状态。当栈空时,top=bottom=NULL;当栈非空时,top指向链表的第一个节点(栈顶)。本题选择A选项。
转载请注明原文地址:https://kaotiyun.com/show/Hp6p777K
本试题收录于:
二级Python题库NCRE全国计算机二级分类
0
二级Python
NCRE全国计算机二级
相关试题推荐
对考生文件夹下的数据库“图书借阅”中的表完成如下操作:①为表loans增加一个字段“姓名”,字段类型为“字符型”,宽度为8。编写程序modipro.prg实现以下功能:②根据borrows表的内容填写表loans中“姓名”的字
软件(程序)调试的任务是
下面不属于软件设计阶段任务的是
下列关于数据库设计的叙述中,正确的是
软件生命周期可分为定义阶段、开发阶段和维护阶段,下面不属于开发阶段任务的是
下面描述中,不属于软件危机表现的是
下列关于二叉树的叙述中,正确的是
下列叙述中正确的是
算法的时间复杂度是指
下列运算结果为逻辑假(.F.)的是()。
随机试题
轮胎动不平衡对汽车行驶和轮胎使用寿命没有影响。()
A.六君子汤合二阴煎B.养心汤合越鞠丸C.黄芪汤合酸枣仁汤D.六味地黄丸合交泰丸治疗心肾不交所致不寐,应首选的方剂是
病人,男,38岁,突然呕血约1500ml,伴柏油样大便,急诊入院。查体:休克状态,血压10/6.7kPa,心率120次/分。此时最主要的护理诊断是()
医师在执业活动中所享有的相对于病人的权利有( )。
工程咨询公司的服务对象可以是()。
《注册建造师执业工程规模标准(试行)》规定,机电工程中,冶炼工程范围包括烧结球团工程、焦化工程、冶金工程、煤气工程、建材工程和()工程。
经济结构是指从不同角度考察的国民经济构成,一般包括()。
根据马克思主义法学的观点,下列哪一种说法是错误的?()
设随机变量X的二阶矩存在,则()。
外交部
最新回复
(
0
)