Tektronix Interview Question

when do you choose hashmap in your program