8 Java Maps, 8 Different Problems — Which One Do You Actually Need?

I faced this question recently in one of the first round interviews, looks like a simple question, but explaining each one with tradeoff…