Bloomberg Interview Question

write an array