Complexity Classes on Data Structure and Algorithms related Questions and Answers


Question :   What is the time complexity for finding a Hamiltonian path for a graph having N vertices (using permutation)?
1. O(N!)
2. O(N! * N)
3. O(log N)
4. O(N)
Answer :   2 - O(N! * N)  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter