Every collection worth knowing for interviews and everyday Java: what it costs, which problems it solves, and example classes that use it. Start from what you need to do, or browse by family.
Click a need to jump to the collection that fits it.
Interfaces in italics, the classes you actually create underneath. Program to the interface: List<Integer> a = new ArrayList<>(), Deque<Integer> s = new ArrayDeque<>(). Since Java 21 the ordered ones also share getFirst, getLast, removeFirst, reversed (SequencedCollection) and pollFirstEntry (SequencedMap).