πŸ“Š Design and Analysis of Algorithms
Q. The problem of finding a path in a graph that visits every vertex exactly once is called?
  • (A) hamiltonian path problem
  • (B) hamiltonian cycle problem
  • (C) subset sum problem
  • (D) turnpike reconstruction problem
πŸ’¬ Discuss
βœ… Correct Answer: (A) hamiltonian path problem

Explanation: hamiltonian path problem is a problem of finding a path in a graph that visits every node exactly once whereas hamiltonian cycle problem is finding a cycle in a graph.


Explanation by: Mr. Dubey
hamiltonian path problem is a problem of finding a path in a graph that visits every node exactly once whereas hamiltonian cycle problem is finding a cycle in a graph.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
759
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate