Amazon interview question

Technical Questions related to arrays and data structures