Amazon Interview Question

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