设某有向图中有n个顶点,e条边,进行拓扑排序时总的计算时间为()
A.O(nlog2ne)
B.O(n*e)
C.O(elog2n)
D.O(n+e)
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/233019.html
上一篇:My gentleness and good behaviour had gained so far on the Emperor and his court, and indeed upon the army and people in general ahat I began to conceive hopes of getting my liberty in a short time. I took all possible methods to cultivate this favora
下一篇:张某有一辆轿车, 因要到美国读博士,他在2 010年l 月 1曰与李某签订了为期1年的租赁合同,约定该车由李某使用。关于该车车船税缴纳的说法中正确的是()