Page 1 of 1

Time complexity to check if an edge exists between two vertices would be ___________

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
a) O(V*V)
b) O(V+E)
c) O(1)
d) O(E)