First Bad Version
Given the total number of versions of a product and an API that checks if a version is bad, find the first version that is bad.
Given the total number of versions of a product and an API that checks if a version is bad, find the first version that is bad.