The Idea Lab Interview Question

How to write program Array separate