Mozn Interview Question

Simple array related PS/DS question