首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
假设一个有n个顶点和e条弧的有向图用邻接表表示,则删除与某个顶点vi相关的所有弧的时间复杂度是_______ 。 A.O(n) B.O(e) C.O(n+e) D.O(n*e)
假设一个有n个顶点和e条弧的有向图用邻接表表示,则删除与某个顶点vi相关的所有弧的时间复杂度是_______ 。 A.O(n) B.O(e) C.O(n+e) D.O(n*e)
admin
2012-03-11
44
问题
假设一个有n个顶点和e条弧的有向图用邻接表表示,则删除与某个顶点vi相关的所有弧的时间复杂度是_______ 。
A.O(n)
B.O(e)
C.O(n+e)
D.O(n*e)
选项
A、
B、
C、
D、
答案
C
解析
转载请注明原文地址:https://kaotiyun.com/show/XoVZ777K
本试题收录于:
程序员上午基础知识考试题库软考初级分类
0
程序员上午基础知识考试
软考初级
相关试题推荐
在Windows中,可以确保打开一个很久以前、又记不清用何种程序建立的文档的操作是(1)。
局域网的网络软件主要包括网络数据库管理系统、网络应用软件和(13)。
输入输出系统主要有3种与主机交换数据的方式,对于这3种方式的描述正确的是(10)。
建立数据库系统的主要目标是减少数据的冗余,提高数据的独立性,并集中检查(17)。
If your diskette has been(66), the computer can not store any new information on it.
Web browser is simply a terminal emulator, designed to display text on a screen. The two essential differences between an ordina
In enterprises, the gateway is the computer that(67)the traffic from a workstation to the outside network that is serving the We
JavaApplet脚本语言的执行必须依赖(45)的支持。
Functional testing tests whether the output is the expected(75)with the valid input.
Theoperationofremovinganelementfromthestackissaidto()thestack.
随机试题
金属内部的组织疏松、偏析和裂纹等缺陷可以通过金相分析检测。( )
债务人所有的()财产,一般不能作为抵债资产。
记账凭证按其反映的经济业务内容不同,通常分为()。
赵州桥是我国现存最古老的桥梁,也是世界上现存最大的双拱桥。()
通报属于()。
有人认为工作环境和待遇是选择工作的主要标准。你对这个问题有什么看法?结合你自己的情况谈谈这个问题。
对于打开的文件其惟一的识别依据是______。
IWasexcitedwhenIsawthebirthdaypresentfrommyfather.It______mewhenIsawthebirthdaypresentfrommyfather.
Conventional(普通)computermodelsoftheatmospherehavelimitedvalueinpredictingshort-livedlocalstormsbecausetheavaila
TheofficiallogooftheInformationAwarenessOffice,thePentagon’ssecretivenewterrorist-detectionexperiment,isn’tsubtle
最新回复
(
0
)