Firstly, what is a data structure?

It is a collection of values that can have relationships among them and functions applied to them. Each data structure is good and specialized for its own particular issue as well as storing and finding particular data — fast.

There is a vast list of data structures that can be found here: All data structures.

However, there are only a few main ones that you really need to know that are used 90% of the time. They are:

  • Arrays
  • Stacks
  • Queues
  • Linked Lists
  • Trees
  • Tries
  • Graphs
  • Hash Tables

Please bear in mind that each language has its own data structures, an example of a table can be found here. But if the language you are using does not contain the specific data structure, do not worry, as you can build one. For example, if Javascript doesn’t have Stacks — you can build one.

#codingbootcamp #coding #arrays #data-structures #javascript

Data Structures and Arrays
1.25 GEEK