Hexaware Technologies Interview Question

Basic array questions, and if I have an offer in hand