It took a lot of time and went through many pits! After brushing 110 leetcodes in 10 days, the summary of experience, real questions and sharing!

foreword

With the advent of the Internet cold wave, more and more Internet companies have increased the difficulty of interviews, one of which is to increase the proportion of hand-torn algorithm questions in interviews. The algorithm questions mentioned here are not algorithms such as deep learning and machine learning, but questions such as sorting, breadth first, and dynamic programming that assess both data structure and programming ability. There are many URLs for writing questions, among which Leetcode is the most famous.

I spent a lot of time on the questions, and went through a lot of pitfalls. In summary, there are three main problems:

  1. I always forget the questions I brushed, and I still can’t do it when I brush it for the second time

  2. The speed of brushing the questions is very slow, even if it takes a day, it is often only five or six questions

  3. I can't persist, I always stop halfway through the brush, and when I come back to brush for the second time, I almost forget all the questions I have brushed before

I was in tears when I said it. I feel that the road to brushing the questions is really difficult. It took a lot of time, but I feel that there is no gain. So recently I have been reflecting on my method of brushing questions, hoping to improve the efficiency and speed of brushing questions. After I summed up the following methods, I can clearly feel that my speed of writing questions has increased from five or six questions a day on weekends to more than fifteen or six questions a day on weekends. The speed has improved significantly compared to before.

The following is a summary of my personal experience.

This article is to establish a framework for data structures and algorithms. From the whole to the details, from the top to the bottom, from the abstract to the specific frame thinking is universal, not just learning data structures and algorithms, learning any other knowledge is efficient.

This cheat sheet guides you to solve 110 LeetCode algorithm problems, and is constantly updated, all based on LeetCode questions, covering all question types and skills. Brush the algorithm, learn routines, from now on, I will take you to wear LeetCode within a week.

For reasons of space, only some screenshots are shown. 110 LeetCode algorithm questions and answers have all been packaged in the online disk, friends who need it can directly private message [Learning] to get it.

Catalog display

Framework thinking of learning algorithms and brushing questions

Who is the father of dynamic programming and backtracking algorithms?

edit distance

The road to algorithm learning

How to count the nodes of a complete binary tree

Biscuit sorting

interval intersection problem

How to use the BFS algorithm to kill various puzzles

How to efficiently perform modular exponentiation calculations

How to remove duplicate elements of sorted array

jumping game

Detailed explanation of Union-find algorithm

Algorithm problems that can be solved with one line of code

Everything you need to know about the Linux shell

Read session and cookie in one article

Online practice platform for Git/SQL/regular expressions

conclusion

  1. The most important thing for brushing questions is speed and efficiency. The ultimate goal is to finish the high-quality and fast brushing in a short period of time, clarify your own cognition, and don't get stuck with the topic.

  2. keep on. If the direction of a thing is correct, even if you encounter setbacks for a while, don't be discouraged, summarize more methods, and continue to improve. The frustration of brushing the questions was very high. I gave up for a long time in the middle, but when I wanted to understand that this hurdle must be passed, I made up my mind to overcome this difficulty and continued to summarize method, continuous improvement.

I personally think that as a technical person, you must maintain a lifelong learning attitude and make learning ability your core competitiveness so that you will not be eliminated by the times. Efficient time management can make you better, so I will introduce these here It took two months to sort out the core skills and knowledge points, and give them to those in need. I hope this information can be helpful to everyone

For reasons of space, only some screenshots are shown. 110 LeetCode algorithm questions and answers have all been packaged in the online disk, friends who need it can directly private message [Learning] to get it.

Guess you like

Origin blog.csdn.net/HongYu012/article/details/127208201
Recommended