Back to Leetcode Go

1.1 Data Structure Knowledge

website/content.en/ChapterOne/Data_Structure.md

1.7.972.7 KB
Original Source

Data Structure Knowledge

The following is data-structure-related knowledge compiled by the author. I hope to enumerate all common data structures as exhaustively as possible. If there are any omissions, everyone is welcome to enlighten me and submit a PR. Related problems are still being gradually organized, and explanatory articles are still being written.

Solving problems is only a means to improve algorithmic ability; the ultimate goal should be to improve one's own thinking ability. Knowledge needs to condense into blocks, so let's summarize these in these two sections of the first chapter and let it be elevated~ I hope that after readers finish solving problems, they will come back to look at this table and be able to clearly organize their own knowledge system, identify gaps, and improve it as early as possible.

Data StructureVariantsRelated ProblemsExplanatory Articles
Sequential Linear List: Vector
Vector
Singly Linked List
Singly Linked List1. Doubly Linked List Double Linked Lists
  1. Static List Static List
  2. Symmetric Matrix Symmetric Matrix
  3. Sparse Matrix Sparse Matrix||| |Hash Table Hash Table|1. Hash Function Hash Function
  4. Collision Resolution/Load Factor Collision Resolution ||| |Stack and Queue Stack & Queue|1. Generalized List Generalized List/GList
  5. Deque Deque ||| |Queue Queue|1. Linked List Implementation Linked List Implementation
  6. Circular Array Implementation ArrayQueue
  7. Deque Deque
  8. Priority Queue Priority Queue
  9. Circular Queue Circular Queue||| |String String|1. KMP Algorithm
  10. Finite State Automaton
  11. Pattern Matching Finite State Automaton
  12. BM Pattern Matching Algorithm
  13. BM-KMP Algorithm
  14. BF Algorithm||| |Tree Tree|1. Binary Tree Binary Tree
  15. Union-Find Union-Find
  16. Huffman Tree||| |Array-Implemented Heap Heap|1. Max Heap and Min Heap Max Heap and Min Heap
  17. Min-Max Heap
  18. Deap Deap
  19. d-ary Heap||| |Tree-Implemented Heap Heap|1. Leftist Tree Leftist Tree/Leftist Heap
  20. Flat Heap
  21. Binomial Heap
  22. Fibonacci Heap Fibonacco Heap
  23. Pairing Heap Pairing Heap||| |Search Search|1. Hash Table Hash
  24. Skip List Skip List
  25. Binary Sort Tree Binary Sort Tree
  26. AVL Tree
  27. B Tree / B+ Tree / B* Tree
  28. AA Tree
  29. Red Black Tree Red Black Tree
  30. Binary Heap Binary Heap
  31. Splay Tree
  32. Double Chained Tree Double Chained Tree
  33. Trie Tree
  34. R Tree||| |--------------------------------------------|--------------------------------------------------------------------------------------------|---------------------------|-----------------------------------|