Amazon interview question

Linked lists and graph questions