【单选题】【消耗次数:1】
设某有向图中有n个顶点,则该有向图对应的邻接表中有()个表头结点。
n-1
n
n+1
2n-1
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 设某有向图的邻接表中有n个表头结点和m个表结点,则该图中有()条有向边。
①  n
②  n-1
③  m
④  m-1
【简答题】 设某有向图的邻接表中有n个表头结点和m个表结点,则该图中有[填空1]条有向边。
【单选题】 设无向图G中有n个顶点e条边,则其对应的邻接表中的表头结点和表结点的个数分别为()。
①  n,e
②  e,n
③  2n,e
④  n,2e
【单选题】 设完全无向图中有n个顶点,则该完全无向图中有()条边。
①  n(n-1)/2
②  n(n-1)
③  n(n+1)/2
④  (n-1)/2
【单选题】 设某无向图中有n个顶点e条边,则建立该图邻接表的时间复杂度为()。
①  O(n+e)
②  O(n2)
③  O(ne)
④  O(n3)
【单选题】 设某无向图中有n个顶点e条边,则该无向图中所有顶点的入度之和为()。
①  n
②  e
③  2n
④  2e
【单选题】 设无向图G中有n个顶点,则该无向图的最小生成树上有()条边。
①  n
②  n-1
③  2n
④  2n-1
【判断题】 在n个结点的无向图中,若边数大于n-1,则该图必是连通图。
①  正确
②  错误
【单选题】 在一个具有n个顶点和e条边的无向图的邻接表中,边结点的个数为( )。
①  n
②  n*e
③  e
④  2e
【多选题】 设 G 是 n (n32)阶 n + 1 条边的无向简单连通图, 则以下哪些性质正确:
①  存在顶点 v, d(v)33;
②  所以顶点度数之和等于2(n + 1);
③  至少有两个顶点不是割点;
④  奇度顶点个数可以不是偶数个。
随机题目
【单选题】 I haven’t seen her for years, but I could still ____ her voice on the phone.
①  recognize
②  realize
③  hear
④  know
【单选题】 As I knew him better, I discovered that my____ had been right.
①  enjoyment
②  improvement
③  impression
④  environment
【单选题】 They invited the three of ____, Bob, Joe, and ____.
①  us…me
②  we… we
③  us…I
④  we…I
【单选题】 His explanation is not at all clear. I find it ____.
①  essential
②  confusing
③  awful
④  puzzled
【单选题】 Things never went _____ as we had expected
①  so smoothly
②  smooth
③  so smooth
④  smoothly
【单选题】 Everyone of them _______ tired and wanted a good rest.
①  seems
②  is seemed
③  was seemed
④  seemed
【单选题】 Peter: How about going to the movies tonight then?Mary: ____
①  I don’t know.
②  The movie is very interesting.
③  That sounds good.
④  The movie is very boring.
【单选题】 John was going to _______ Mary by telling his friends how much weight she had gained.
①  essential
②  embarrass
③  elementary
④  consider
【单选题】 The classroom is quite clean ____ some waste paper on the floor.
①  without
②  besides
③  except
④  except for
【单选题】 -- What day is today?-- Today is ______ .
①  March 25th
②  Saturday
③  fine
④  cold