IXL Learning interview question

Brain Teaser