Data Structure
Data structure is a collection of values, organized for our usage. Each data structure is good and is specialized for its own thing. For example, in real world, we have bag to store books, we have fridge to store foods, etc
Arrays
Stacks
Queues
Linked Lists
Trees
Tries
Graphs
Hash Tables
Each data structure has their pros and cons. Some are good at certain operations, while others are good at other operations. What are data structure operation?
Insertion
Deletion
Traversal - access each data item exactly once so that it can be processed (like loop)
Searching - find out the location of the data item if it exists
Sorting
Access - How do we access this data
Last updated