Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
a linkedlist supports fast insertion and deletion, but slow traversal. an arraylist supports fast access to an element while it can be slow to delete or insert an element.
both linkedlist and arraylist implement as list while a hashset implements a set (no duplicates). a hashset is like a dictionary where access to an element is extremely fast, as well as insertion and deletion.