Indeed Interview Question

1D and 2D array questions