In what order is LeetCode better to write questions?

Share the question order of the gods around you:

If you are short of time and you are trying to find a job, I suggest that you first check the popular recommendations, there are more than 200 questions in total.
Insert picture description here

On the right side of the https://leetcode-cn.com/problemset/all/ page. First brush the hot question HOT 100, then brush the selected TOP interview questions, and then brush other questions.

If you have plenty of time, then I suggest you:

  • Group by difficulty from low to high
  • Sort by tag
  • Review regularly and redo the questions that have been brushed before

Master the LeetCode method of brushing questions and then start brushing the questions, it is a sharpening and not accidentally cutting wood. It is very important to master the correct method.

If you find that you can't write it out when you're reviewing the questions, don't worry, this is normal.

If you still find out, you still won't know the questions you've written before, when you do it again later. Don't worry, this is normal.

How to brush questions:

The first time : You can think first, then read the reference answer to brush, combine with other people's problem solutions. Think, summarize and master the type of the question, the way of thinking, and the best solution.

Second time : Think first, recall the optimal solution, compare it with the solution I wrote before, and summarize the problem and method.

The third time : improve the speed of brushing the questions, come up with a question, you can know the focus of the investigation, the method of solving the problem, and write the answer in a short time.

Regular summary:

Summarize according to the type of question: For a type of problem, summarize which methods are available, which method is the best, and why.

Summarize the key points: You still can’t solve some problems after you have done so many times. Then you should focus on them, think more about the solutions, and keep practicing.

Combining graphic problems:

Some people think that writing questions is boring and abstract. Then you can combine the animation graphics to brush the questions.

Take a simple sorting algorithm as an example:

Sorting algorithms alone can be divided into the following ten types:
Insert picture description here

Recommend a project that demonstrates the topic on LeetCode in the form of animation:

https://github.com/MisterBooo/LeetCodeAnimation​github.com

For example, the basic bubble sorting method is demonstrated as follows:Insert picture description here

Selection sort method :
Insert picture description here

Insertion sort method :Insert picture description here

Hill sorting method :Insert picture description here

Merge sort method :Insert picture description here

Quick sort method :Insert picture description here

Heap sort :Insert picture description here

Count sort :Insert picture description here

Bucket sorting :Insert picture description here

Base order :Insert picture description here

The project is being improved, and the following topics have been demonstrated in the form of animation:

Because I know that there is no table for typesetting, I took a screenshot. For the above content, see:

MisterBooo / LeetCodeAnimation github.com

In addition, I recommend some free learning resources:

When studying, you should think about why you want to design in this way, what are the advantages, and what ways to improve, and gradually improve your logical thinking ability in this way. Check if you don’t understand, find learning materials and related answers, and keep learning.

1. Algorithm learning LintCode: https://www.lintcode.com/

On the algorithm learning website, go up to the two algorithm questions every day, and you are not afraid to travel all over the world.

2. Algorithm learning LeetCode: https://leetcode.com/

It is also an algorithmic problem website, ibid.

3. Algorithm learning LeetCode Chinese station: https://leetcode-cn.com/

This is the Chinese site of the above algorithmic problem website. If the English is not good, you can use this. If the English is good, it is recommended to use the English website to improve your English ability.

4. China University MOOC website: https://www.icourse163.org/

China University MOOC is an online education platform jointly launched by NetEase and the Higher Education Society. It undertakes the task of the Ministry of Education's National Excellent Open Courses and provides the public with MOOC courses from well-known Chinese universities. Here, everyone who is willing to improve themselves can get better higher education for free.

Guess you like

Origin blog.csdn.net/BinSTD/article/details/108279347