Meta Interview Question

Coding was all arrays for me one med one hard..