Nagarro Interview Question

in coading they basically ask array questions