Super.com interview question

how would you iteratively build this