The randomized algorithm runs in O(n2) time on all inputs.
There are some inputs on which the randomized algorithm never gives an incorrect answer
There are some inputs on which the randomized algorithm never gives an correct answer.
For some inputs ,the probability that the randomized algorithm gives an incorrect answer is greater than 0.5