a) O(V*V)
b) O(V+E)
c) O(1)
d) O(E)
Time complexity to check if an edge exists between two vertices would be ___________
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Time complexity to check if an edge exists between two vertices would be ___________
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!