Interview Guides
Given a nested array arr, return a new flat array containing all non-array elements in left-to-right order. Elements may be nested to arbitrary depth, and empty nested arrays should contribute nothing to the result.
0 <= len(arr) <= 10^40 and 10^3