Bloomberg Interview Question

Find the elements in the array.