A directed graph is represented as an Edge List. What is the worst case time complexity to find if two vertices are adja
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A directed graph is represented as an Edge List. What is the worst case time complexity to find if two vertices are adja
A directed graph is represented as an Edge List. What is the worst case time complexity to find if two vertices are adjacent to each other in this graph (neighbors of each other / connectedness property)? O(1) Olog V) O(V) O(log E) O(E) OIEV)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!