ArrayList<E>container
Java's growable array: O(1) get/set, amortized constant-time add at the end, linear-time insertion and removal elsewhere.
Java's growable array: O(1) get/set, amortized constant-time add at the end, linear-time insertion and removal elsewhere.
Java's hash table map: constant-time get and put on average, one null key allowed, no ordering.
A set backed by a HashMap: constant-time add, contains and remove on average; one null allowed.
A resizable circular array usable as a queue or a stack: amortized constant time at both ends, no nulls.
An unbounded binary min-heap: O(log n) offer and poll, O(1) peek, linear remove(Object) and contains.