LogicGate interview question

Java data structures e.g. List, Set, Map