Indeed Interview Question

Assessment question over arrays.