Question d’entretien chez Manhattan Associates

When would you use a HashMap vs an ArrayList?