algorithm-base
@program chef @program chef @algorithm base
❤️ A letter to all my fellow questioners (must read before using the warehouse)
Recommended to read online, more stable www.chengxuchu.com
If you want to contribute code, you can add my WeChat iamchuzi comment to contribute to the warehouse.
Here, for all the students who use the warehouse, thank you all the contributors.
If I think the warehouse is very attentive, please give me a star. This is also our motivation to keep updating.
Thank you for your support. This warehouse will continue to be maintained. I hope it can be of some help to you.
If you need to join the question brushing/autumn recruitment team , you can scan the QR code below and click to contact me/communicate with the team. This team will never charge a fee, and no one will post advertisements. It is only used for communication, but I hope everyone can join. , you can make notes about yourself and make a brief self-introduction.
? Data structure (prerequisite knowledge)
- [Animation Simulation] Detailed explanation of hash table, a 10,000-word long article
- [Animation Simulation] Detailed explanation of stack and queue
- [Drawing Analysis] Detailed explanation of linked lists
- [Drawing Description] Detailed explanation of recursion
- 【Animation Simulation】Tree
? String matching algorithm
- [Animation Simulation] String Matching BF Algorithm
- [Animation Simulation] String Matching BM Algorithm
- [Animation Simulation] String Matching KMP Algorithm
? Sorting algorithm
- [Animation Simulation] Bubble sorting
- [Animation Simulation] Simple selection sorting
- [Animation Simulation] Insertion Sort
- [Animation Simulation] Hill Sorting
- [Animation Simulation] Merge Sort
- 【Animation Simulation】Quick Sorting
- [Animation Simulation] Heap Sorting
- [Animation Simulation] Counting Sort
? Binary tree
- [Animation Simulation] Preorder Traversal (Iteration)
- [Animation Simulation] Preorder Traversal (Morris)
- [Animation Simulation] In-order traversal (iteration)
- [Animation Simulation] In-order traversal (Morris)
- [Animation Simulation] Postorder Traversal (Iteration)
- [Animation Simulation] Postorder Traversal (Morris)
? Sorting algorithm flash question
- 【Animation Simulation】Netherlands Flag
- [Disproof solution] Arrays form the smallest number and the largest number
- [Animation Simulation] Reverse Pair Problem
- [Animation Simulation] Flip Pair Problem
- [Animation Simulation] Linked List Insertion Sort
? Array articles
- [Animation simulation] leetcode 1 sum of two numbers
- [Animation simulation] leetcode 27 remove elements
- [Animation Simulation] The first positive number missing in leetcode 41
- [Animation Simulation] leetcode 485 The maximum number of consecutive 1's
- [Drawing description] leetcode 1052 Angry bookstore owner
- [Animation Simulation] The sword points to the repeated numbers in the offer 3 array
- [Animation simulation] leetcode 219 Duplicate element 2 in the array
- [Animation Simulation] leetcode 560 and the subarray of K
- [Drawing description] leetcode 66 plus one
- [Animation simulation] leetcode 75 color classification
- [Animation simulation] leetcode 54 spiral matrix
- [Animation Simulation] leetcode 59 Spiral Matrix 2
- [Animation simulation] leetcode 233 number of digits 1
?Sum problem
- [Animation simulation] leetcode 01 sum of two numbers
- [Animation simulation] leetcode 15 sum of three numbers
- [Animation simulation] leetcode 18 sum of four numbers
? Problem of finding times
- [Animation Simulation] leetcode 136 is a number that only appears once
- [Animation Simulation] leetcode 137 A number that only appears once II
- [Animation Simulation] leetcode 260 The number III that only appears once
? Linked list
- [Animation Simulation] The sword points to the k-th node from the bottom of offer 22
- [Animation Simulation] Interview question 02.03. Linked list intermediate node
- [Animation Simulation] The sword points to offer 52, the first common node of the two linked lists & leetcode 160, intersecting linked lists
- [Animation simulation] leetcode 234 palindrome linked list
- [Animation simulation] leetcode 206 reverse linked list
- [Animation simulation] leetcode 92 reverse linked list 2
- [Animation simulation] leetcode 141 circular linked list
- [Animation simulation] leetcode 142 circular linked list 2
- [Animation simulation] leetcode 86 separated linked list
- [Animation simulation] leetcode 328 odd-even linked list
- [Animation Simulation] The sword points to offer 25 and merges two sorted linked lists
- [Animation Simulation] leetcode 82 Delete duplicate elements from sorted linked list 2
- [Animation Simulation] leetcode 147 Insertion sorting of linked lists
- [Animation Simulation] Interview Question 02.05 Linked List Sum
?Double pointer
- [Animation Simulation] Detailed explanation of binary search
- [Animation simulation] leetcode 35 search insertion position
- [Animation simulation] leetcode 27 remove elements
- [Animation simulation] leetcode 209 subarray with the smallest length
- [Animation simulation] leetcode 141 circular linked list
- [Animation Simulation] The sword points to offer 52, the first common node of the two linked lists & leetcode 160, intersecting linked lists
- [Animation simulation] leetcode 328 odd-even linked list
?? Stacks and Queues
- [Animation Simulation] leetcode 225 queue implementation stack
- [Animation Simulation] Sword Points to Offer 09. Use two stacks to implement queues
- [Animation simulation] leetcode 20 valid brackets
- [Animation Simulation] leetcode1047 deletes all adjacent duplicates in a string
- [Animation simulation] leetcode 402 remove K digits
? Binary search and its variants
- [Animation Simulation] Detailed explanation of binary search
- [Animation simulation] leetcode 35 search for insertion position
- [Animation Simulation] leetcode 34 finds the first and last position of an element
- [Drawing Description] Find the first index that is greater than or less than the target element
- [Animation Simulation] leetcode 33 Find the target element in the rotating array (excluding repeated elements)
- [Drawing description] leetcode 81 Find the target element (including repeated elements) in the rotating array
- [Drawing Description] leetcode 153 Find the minimum value in the rotated array
- [Animation simulation] leetcode 74 binary search of two-dimensional array
? Monotone Queue Monotone Stack
- [Animation Simulation] Sword Pointing Offer 59 - II. Maximum value of the queue
- [Animation Simulation] Sword Points to Offer 59 - I. Maximum value of sliding window
- [Animation Simulation] leetcode 1438 The longest subarray whose absolute value does not exceed the limit
- [Animation simulation] leetcode 155 minimum stack
- [Animation simulation] leetcode 739 daily temperature
- [Animation simulation] leetcode 42 catching rainwater
? prefix sum
- [Animation Simulation] leetcode 724 Find the center index of an array
- [Animation simulation] leetcode 523 continuous subarray sum
- [Animation Simulation] leetcode 560 and the subarray of K
- [Drawing description] leetcode1248 statistics "beautiful subarray"
- [Drawing description] leetcode 974 and a subarray divisible by K
? recursion
? Greedy
? Backtrace
? divide and conquer
? Dynamic programming
? And check the set