An algorithm that always runs in polynomial time but possibly returns erroneous answers is called a/an ______.
Show answerHide answer
Correct answer: (B) Monte Carlo algorithm
Explanation
A Monte Carlo algorithm has a fixed (polynomial) running time but may give a wrong answer with small probability. A Las Vegas algorithm is always correct, but its running time varies.