First Bad Version

Try to solve the First Bad Version problem.

Statement

The latest version of a software product has failed the quality check. Because each version builds on the previous one, all versions developed after a bad version are also considered bad. You are given n versions identified by integers [1,2,3,,n][1, 2,3, \dots, n] ...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy