IXL Learning interview question

two sum