Open source addressClick the link
preface
Nowadays, for technical personnel (soft open, algorithm, etc.) in the process of job hunting written test is essential (except for those who do not need written test, most people need written test), and written test is generally composed of choice, filling in the blank, short answer, programming questions (this part is very important), so brushing is essential; For this year’s job hunting is the need for crazy brush questions, because usually have their own scientific research tasks, but I still suggest that brush questions should be gradual, prepare in advance, so that you can easily deal with this part of the programming questions, and not only focus on the brush questions every day this matter; To have work also is not to say that no longer need to brush the topic, even (job-hopping) has its algorithm will also topic of inspection, so no matter for this year’s survival is on-the-job personnel, looking for a job requires a certain algorithm, brush in order to be able to reduce the amount of time each day, then we can do is to brush layout problem tasks, early to get ready for looking for a job in the future in advance, So even if only one question every day, according to a job roughly 1-2 years to calculate, then in the next job will brush 300 to 600 questions.
LeetCode Solution
LeetCode currently has more than 1000 questions. The official website classifies different question types. When the number of questions in each type is arranged from the largest to the smallest, their general distribution is as follows:
- Array
- Dynamic Programming
- Math
- String
- Tree
- Hash Table
- Depth First Search
- Binary Search
- Greedy
- Two Pointers
- Breadth First Search
- Stack
- Backtracking
- Design
- Linked List
- Sort
- Bit Manipulation
- Graph
- Heap
- Union Find
- Sliding Window
- Divide and Conquer
- Trie
- Recursion
- Ordered Map
- Segment Tree
- Queue
- Minimax
- Binary Indexed Tree
- Random
- Topological Sort
- Brainteaser
- Geometry
- Line Sweep
- Binary Search Tree
- Rejection Sampling
- Reservoir Sampling
- Memoization
Each type of topic lists what topics are included
Click on the topic directly to view the source code corresponding to the topic, which includes the topic description (from the official LeetCode), and then the solution idea (personal opinion), roughly as follows
This is followed by the source code section of the corresponding topic (personal solution)
Afterword.
This open source code is mainly record personal brush items in the process of their thinking, also as a subsequent rapid search, browse, recall the problem solving, can method is not perfect, will gradually improve, also hopes to put forward valuable opinion of people with heart, I later their thinking, source and so on also will continue to update to the warehouse, click on the link for more details.