Impelsys interview question

Array functionality