首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
当利用大小为n的数组顺序存储一个队列时,该队列的最大长度为(33)。
当利用大小为n的数组顺序存储一个队列时,该队列的最大长度为(33)。
admin
2009-05-15
67
问题
当利用大小为n的数组顺序存储一个队列时,该队列的最大长度为(33)。
选项
A、n-2
B、n-1
C、n
D、n+1
答案
B
解析
需要保留一个元素为空来标志队头。
转载请注明原文地址:https://www.kaotiyun.com/show/afjZ777K
本试题收录于:
程序员上午基础知识考试题库软考初级分类
0
程序员上午基础知识考试
软考初级
相关试题推荐
在Linux下安装sendmail服务,sendmail服务程序需要读取一些配置文件,以下是sendmail的几个配置文件的主要内容。[/etc/sendmail.cf文件片断]CwlocalhostFw/etc/mail/loca
某公司内部组建了100BaseTX局域网,其结构如下图所示。为保护内部局域网用户,常用的安全防护系统有哪些?
阅读以下技术说明,根据要求回答问题1~问题4。【说明】某单位内部网络拓扑结构如图1—22所示。为保证路由器的安全,网络管理员进行了如下设置,请在(11)~(13)处填写对应行语句的作用。outer(Config)#noiphttp
A computer network links computers together to allow users to share hardware, software, and(73)
Because Web servers are platform and application(71)they can send or request data from legacy or external applications including
Because Web servers are platform and application(71)they can send or request data from legacy or external applications including
用单模光纤做媒体的1000BaseLX以太网,在全双工条件下,网段距离最大可达(42)。
A typical application of this(71)is ADSL. It is emerging as the technology for home-and small-office Internet connectivity. It p
By using MP3, a 600M-byte music CD can be(70)to 50M bytes or less. It can be streamed(downloaded in chunks)so that you can begin
By using(26), a 600M -byte music CD can be compressed to 50M bytes or less. It can be streamed(downloaded in chunks) so that you
随机试题
讨论线性方程组解的情况,并在有无穷多解时求其解.
受遗赠人()。
A、mountainB、groupC、thousandD、withoutB画线部分读[u:],其他选项的画线部分读[au]。
贯穿骨盆腔各平面中心点的假想曲线称为
牙髓感染的主要途径是
被取保候审的犯罪嫌疑人、被告人应当遵守的规定有()。
要使1/a>1成立(1)a1
Wherehavethefamilydecidedtogoforavacationthissummer?
TeensandDrugsWhydoteensusedrugs?1.Curiosity.Puberty(青春期)isthemostimportantstagefortheteenstoformtheir
Forthefirsttimein25yearstheFoodandDrugAdministration(FDA)isbringinginnewhealthwarningsforcigarettes.Thenine
最新回复
(
0
)