Briefly describe the difference between an exact algorithm and a heuristic. When are heuristics needed?
Expert Answer
Algorithm means an exact way of solving a problem, a set of well-defined steps that would ensure that a final solution is reached whereas heuristic means constant learning approach in which a machine learns itself by various iterations on how to reach a solution for a particular problem.
Heuristics are needed because we cannot have a fixed algorithms for very problem because there are n number of problems hence heuristics is needed which includes self-learning