Yesterday’s blog went over stacks, queues, linked lists, graphs, & hash tables. Today I’ll explain the trade offs.
The trade off for linked lists is that by editing an element, may have to iterate through the whole length of code.
Hash tables are the fastest data structures, however the trade off is the correspondence of keys and values. It sacrifices relationship between data and not the best choice for just storing data.
This is just like the crypto currency space of trading security for speed. Which bitcoin is the most secure but slower than the unsecured alt coins.
Overall my understanding of data structures in a bigger picture sense was met.