CarGurus interview question

Easy Leetcode - debugging a loop