Which of the following is a classic example of an NP-hard problem?
Sorting an array in ascending order.
Finding the maximum element in an array.
Checking for palindromes.
Finding the Hamiltonian cycle in a graph.

Advanced Algorithms Exercises are loading ...