Skip to content

Here are 10 key data structures we use every day:

  • List: Keep your Twitter feeds

  • Stack: Support undo/redo of the word editor

  • Queue: Keep printer jobs, or send user actions in-game

  • Hash Table: Caching systems

  • Array: Math operations

  • Heap: Task scheduling

  • Tree: Keep the HTML document, or for AI decision

  • Suffix Tree: For searching string in a document

  • Graph: For tracking friendship, or path finding

  • R-Tree: For finding the nearest neighbor

  • Vertex Buffer: For sending data to GPU for rendering

Released under the MIT License.