I found this algorithm that shows me just one hamiltonian cycle but I need to print all hamiltonian cycles in an undirected graph.
Here's the code that I tried to use: https://www.geeksforgeeks.org/hamiltonian-cycle-backtracking-6/
Could someone help me with the implementation? In addition, this code show me all hamiltonian path: http://www.techiedelight.com/print-all-hamiltonian-path-present-in-a-graph/