Tripadvisor Interview Question

When would you use a hashtable?