Skip to content

hanleilei/leetcode

Repository files navigation

leetcode

record and learn algorithm

遇到问题的四个步骤:

  1. clearification, 澄清确定自己理解题目含义
  2. possible solution,多个不同的方法,分析差异和时间空间复杂度
    • compare( time / space )
    • optimal(加强)
  3. coding (多写)
  4. test case

round 1st:

  1. 5分钟读题目,思考
  2. 看解法,多看,比较优劣
  3. 背诵默写好的解法套路

round 2nd:

  1. 马上自己写,leetcode上提交。
  2. 多种写法比较,体会优化。

rount 3rd

  1. 24小时之后,重新做一遍
  2. 不同解法的熟练程度,专项练习

round 4th

  1. 一周后,专项联系

round 5th

  1. 面试前一周,恢复性练习。

职业训练:拆分知识点 + 刻意练习 + 反馈

About

record and learn algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages