Question d’entretien chez Amazon

1. Array and hashmap Question 2. String question