A randomised algorithm that always gives the correct answer but whose running time varies is called a:
Show answerHide answer
Correct answer: (D) Las Vegas algorithm
Explanation
Monte Carlo runs in fixed time but may err.
Correct answer: (D) Las Vegas algorithm
Explanation
Monte Carlo runs in fixed time but may err.
This is question 126 of DSSSB TGT Computer Science Full Mock Test 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.