Bounteous x Accolite interview question

diff between arraylist and hashmap?