Evolent Interview Question

Flatten array w/o built-in Methods