Solution:
They are both Sets, but the LinkedHashSet maintains a doubly-linked list of the items, preserving the insertion order.
Sets
LinkedHashSet
Credit: 3870