Amazon interview question

basic puzzle, about testing cycle