Amazon interview question

1st question was a hashmap coding question. 2nd question was a linked list question.