Set, Map, List
the children in set will not repeated
Not in sequence
Good for searching children by key , as it is key-value pair
The children can repeated
In sequence
ArrayList vs LinkedList: LinkedList can add children to the last or head , while ArrayList just can add children to the head
Quick Sort, Merge Sort, Binary Tree, Stack, Queue
Last updated 3 years ago