Question DSA-SRCH-0058
MediumYou search for 'the first bad version' among versions 1 to n, where all versions after a bad one are bad. Which approach is best?
- A.
Sort the versions
- B.
Check versions in random order
- C.
Sign up free to see the answer and a step-by-step explanation.