Confusions and questions about algorithm brushing are often mentioned by friends. This note contains a total of hundreds of questions compiled by the author after brushing the LeetCode algorithm questions, and each question is accompanied by a detailed solution process. Many people say that it is not efficient to brush data structure and algorithm problems, and it is very painful. With the summary of this note, it is self-evident that the algorithm for school recruitment and social recruitment is helpful, and I have collected it decisively.
LeetCode that is worth brushing
LeetCode Brush Question Directory
mind Mapping
If you need the help of LeetCode's PDF manual, you can get it for free by adding the assistant VX (gyhycx7980) as shown in the picture below!
The most understandable greedy algorithm
- Algorithm explanation
- Distribution problem
- Interval problem
- Exercise
Play with dual pointers
- Algorithm explanation
- Distribution problem
- Interval problem
- Exercise
Ihe cut! Binary search
- Algorithm explanation
- Ask for a prescription
- Search interval
- Rotate array to find numbers
- Exercise
Strange sorting algorithm
- Common sorting algorithm
- quick selection
- Bucket sort
- Exercise
Everything is searchable
- Algorithm explanation
- Depth first search
- Backtracking
- Breadth first search
- Exercise
Dynamic programming in a simple way
- Algorithm explanation
- Basic dynamic programming: -dimensional
- Basic dynamic programming: two-dimensional
- Split type questions
- Subsequence problem
- Backpack problem
- String editing
- Stock trading
- Exercise
Divide and conquer
- Algorithm explanation
- Expression problem
- Exercise
Cleverly solve math problems
- introduction
- Common multiples and common factors
- Prime number
- Digital processing
- Random and sampling
- Exercise
Magic bit operation
- Common skills
- Basic Bit Operations
- Binary characteristics
- Exercise
Magical data structure
- C++ STL
- Array
- Stack and queue
- Monotonic stack
- Priority queue
- Deque
- Hash table
- Multiple sets and maps
- Prefix sum and integral graph
- Exercise
Heady string
- introduction
- String comparison
- String understanding
- String match
- Exercise
Linked list, tree, graph
- Data structure introduction
- Basic operation of linked list
- Other linked list skills
- Data structure introduction
- Tree recursion
- Level traversal
- Traversal
- Binary search tree
- Dictionary tree
- Data structure introduction
- binary picture
- Topological sort
More complex data structure
- introduction
- And collect
- Compound data structure
- Exercise
If you need the help of LeetCode's PDF manual, you can get it for free by adding the assistant VX (gyhycx7980) as shown in the picture below!
Obtain the manual of algorithm brushing notes, please forward your attention, thank you for your support!