IXL Learning interview question

Leetcode has its last question