SpaceX Interview Question

array operation with o(n) time complexity