Question d’entretien chez Amazon

First questions was based on array and hashmap. second question was based on string manipulation (Encoding-decoding of the string)