Canonical Interview Question

Something related to advanced arrays.