Google Interview Question

about DSA, specifically array manipulation