The Gateway to Computer Science Excellence
0 votes

How to understand this: For a connected graph, V = O(E))


prims algorithm time complexity for adjacency list representation. Also same is given in CLRS but no reason 

in Algorithms by Active (1.1k points) | 87 views
It means that the in a connected graph the no. of vertices can never exceed the no. of edges because minimum edges in a connected graph of $n$ nodes will be $O(n)$ and maximum no of edges will be $O(n^2)$
Thanks but can you share some resources to understand it better.

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,271 answers
104,788 users