Intuit Interview Question

Linked List logic problems, When to use a HashMap?