How to brush for two months 400 leetcode

Introduction
With the advent of the Internet's cold, more and more Internet companies to increase the difficulty of the interview, one of which is to increase the proportion of interview questions among Shredded algorithm. Here that the problem is not deep learning algorithms, this type of machine learning algorithms, but sorting, breadth-first, dynamic programming such as assessment data structure also assess the ability of programming topics. The very title of the URL brush, which leetcode is the most famous.

Brush on topic, I spent a lot of time, a lot of times the pit, summed up what, there are three questions:

  1. Brush off the question always forget the second time when the brush or will not do
  2. Brush title is very slow , even spend the day, often only brush fifty-six
  3. Insisted on not down , always brush it slows down to half, the Second Coming when I brush, brush off questions are front and almost forgotten

He says it is tears, feeling brush the question is really difficult to walk this road, spent a lot of time, but feel no harvest. So lately I've been reflecting on the theme of his brush method, hoping to improve the efficiency and speed of the brush title. When I summarized the following methods later, I obviously feel their problems faster brush from fifty-six one day before the weekend to weekend brush more than fifteen six day rate compared to the previous lift is very obvious.

A. Let's talk about why you want to brush title

  1. Interview required . Today's headlines Google and other companies interview, a very high value basic algorithm topic, leetcode brush are not too bad the first face
  2. Brush title can increase self-confidence . Code on the complexity of the algorithm which is far below the actual working title of the difficulty of brush, so hard I brush off the question, not to mention the code to work, of course, the work which generally less than the way we brush theme
  3. Most of the students need to improve the ability to brush the question . In the interview questions of the students algorithm, three questions can write an algorithm is not a lot

II. How to brush the question quickly
because I currently own only brush about 400 questions, is likely to be a better way, welcome to enlighten me

  1. Established plan . For example, when looking for work preparation, 60 days is necessary to clear brush 400 questions before leetcode, an average of one week we should brush 75 questions, 50 questions can brush weekend days, Monday to Friday brush 5 questions every day, the problem is decomposed down, every day be sure to complete the task to sleep
  2. Decomposition plan . Due to the need to brush one week 75 questions, 75 questions in advance planning will need to brush this week, organized into excel, brushing a question mark about the future finished the week you can see full marks excel very rewarding
  3. Quick question brush . The five topics early one day brush is actually a very high burden, in general, just brush questions, questions are at least a half an hour, five day, you may have at least two and a half hours. So when we brush the question, in order to save time, five minutes no idea, do not waste time, looking directly at the answer. Another reason, the interview, they will not let you think for a long time. To clear recognition that this problem is no different brush and entrance, can not understand, to back down.
  4. Brush the team title . Everyone brush the question, can obviously make myself stick with it, brush the question has always been adhere to the process.

III. How to avoid forgetting

  1. Timely repeat . Because after brushing our problems, forgetting curve will follow a slow down after the process, so be promptly repeated brush off questions, 75 questions the need to plan ahead brush, then we will revisit the question how to plan weekly 75
  2. Share with others . When brushing our problems, if we can repeat it, then, will greatly enhance our image, in time to tell others to listen, and if you can speak it very clear, that you are completely understand, but if you listen to the people always I did not quite understand, it is likely that he did not understand the topic, so you need to go back to think about the solution of this problem.

IV. How to improve the performance of the interview process among the brush theme

  1. Develop bug free habits . After writing the code, must be carefully examined to ensure that there is no idea of the problem, there is no subscript cross-border issues, consider various boundary, no variable naming inconsistencies and other issues
  2. Master multiple solutions . Algorithm interview questions, do it on the one hand, if we can master the complexity of the solution at different times on this subject, and then presented to the interviewer, the interviewer will naturally be more satisfactory. Suppose a student during the interview, write first time complexity and space complexity of most methods, the interviewer is likely to ask you this question you have a better solution, you write the time complexity and space complexity slightly lower point solution, continue to ask the interviewer if you can not optimize a little more, then you write the time complexity and space complexity of the optimal solution, the interviewer will think you are in-depth thinking, If I had to write time complexity and space complexity of the optimal method, but the interviewer will think you've done it this topic.

V. Conclusion

  1. Brush the question most important is speed and efficiency . Fast high-quality short period of time brushing is the ultimate goal, define their cognitive, and do not subject Sike.
  2. He persevered . If a thing in the right direction when, even if the moment setbacks, and do not be discouraged, and more summary methods, continued to improve. Brush up this matter to my frustration is very high, the middle is a time to give up for a long time, but when I want to understand this bridge is to be had at some point, they made up my mind must overcome this difficult period for summary method, continuous improvement. Finally, I welcome the focus on personal public number: ModifyAI

Guess you like

Origin www.cnblogs.com/ModifyRong/p/11124542.html