The Idea Lab interview question

How to write program Array separate