IXL Learning interview question

Asked some typical algorithm/coding questions