DEV Community

Discussion on: What is your favourite data structure?

Collapse
 
krukru profile image
Marko Kruljac

My favourite data structure is the one that gets the job done efficiently. /joke

To give a serious answer, my most used, and therefore most often favourite would be a map. Knowing the various underlying implementations is really fun and important in order to make a good performance decision.

I found this site helpful in visualising the various algorithms and data structures cs.usfca.edu/~galles/visualization...