Which of the following is a rule; if it is applied, ensures the solution to the problem?(psy101)

Heuristics
Algorithms
Both heuristics and algorithms
Logrithm