Consider a program that takes as input a simple graph G, two points A and B and prints all the shortest paths between the two vertices A and B.
If the number of vertices of the G is n , then what is the best achievable worst case runtime complexity of such a program?
O(n 2^n)
INCORRECT
O(\frac{n!}{n})
CORRECT ANSWER
O(\frac{n!}{n^2})
O(n^2 2^n)
Please explian to me this


