Intuit interview question

Linked List logic problems, When to use a HashMap?