DataStructure quick pick
Got this in the mail from my brother. Feel its handy. It might be from some source, which I don’t know, hence unable to quote otherwise would have.
Nonethelss worth saving in this post too.
Advantages: Quick Insertion, Very fast access if index known
Disadvantage: Slow search, slow deletion, fised size
Advantages: Quicker search than unsorted array
Disadvantage: Slow insertion and deletion, fixed size
Advantages: Provides LIFO
Disadvantage: Slow access to other items
Advantages: Provides FIFO
Disadvantage: Slow access to other items
Advantage: Quick insertion, quick deletion
Disadvantage: Slow search
Advantage: Quick Search, insertion, deletion (if tree remains balanced)
Disadvantage: Deletion Algorithm is complex
Advantage: Quick search, insertion, deletion. Tree always balanced
Disadvantage: Complex
Advantage: Quick search, insertion, deletion. Tree always balanced. Similer trees good for disk storage.
Disadvantage: Complex
Advantage: Very fast access if key known. Fast insertion.
Disadvantage: Slow deletion, access slow if key not known, inefficient memory usage.
Advantage: Fast insertion, deletion, access to largest item.
Disadvantage: Slow access to other items.
Advantage: Model real world situation
Disadvantage: Some algorithms are slow and complex.
Advertisement
Categories: DataStructure, Java
array, DataStructure, heap, Java, linkedlist, queue, stack tree