Prometheus Group Interview Question

Array manipulation questions with missing elements