Amazon interview question

Graph questions, hash maps and LC medium