Explain the Traveling Salesman problem? What is an NP-complete problem? What is the Hamiltonian cycle problem? Click for Solution |
-
Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
A Travelling salesman problem is : there is a sales man a n number of cities and the distance between them, he has to visit each sity travelling the minimum possible distance such that each city is visited only once.
NP- complete problem : its a nondeterministic polynomial time problem in which it is hard to find a solution.
hamiltonian cycle: you need to find a hamiltonian path between vertices such that each vertice is crosses only once and there are no vertices left...plus since its a cycle you need to move onto the next neighbour and in the end no vertice should be left unvisited.
Explore
- GPL4you
- Home
- Prepdoor - Online Mock Test
- About
- FAQs
- Contact
- Contact Us
© 2011 - gpl4you | All Rights Reserved.