how to improve leetcode
How to do Leetcode
-
每天定期刷2-3题(既不超负荷,也不少符合)
-
按类型训练,总结形成自己的模版
-
反复连续,直到形成肌肉记忆
肌肉记忆的定义: 闭着眼睛都能写出来
-
享受刷题过程,开设一个video,定期上传自己的讲解视频,输出才是最好的学习方法
-
明确自己的舒适圈 和 uncomfortable在哪里
https://zerotrac.github.io/leetcode_problem_rating/#/ 这是一个链接可以查看lc题的难度
选择适合自己难度的题的区间去做
Tips
-
五分钟思考法
每道题思考限制在5分钟以内,超过就不去思考,直接去看题解。
-
重复才是王道
-
按专题训练
-
入门的一个标准是 周赛分数1800 - 2000,快速AC前三题
-
先熟悉,后专项,再实战(锻炼分析能力) ,融会贯通(融合两种算法) ,最终形成条件反射
-
不同段位的平台
lc
cf
https://codeforces.com/problemset?order=BY_SOLVED_DESC&tags=1500-1700
洛谷
From Rating 1000 to 2400
我们将其细分为4个部分
Rating 1000→1400, from a beginner to a specialist
Rating 1400→1900, from a specialist to a top 10% coder
Rating 1900 → 2200, from a top 10% coder to a well-played Div1 player
Rating 2200→2400, from a well-played Div1 player to red
我们大部分人应该是在 Rating 1400→1900, from a specialist to a top 10% coder
因为我会把这篇文章关于1400-1900的部分专门拿出来优先总结
Rating from 1400 to 1900
重点在于 DP, PFS, BFS, Dijkstra
在codeforce上面
code faster
5 minutes for R1100
10 minutes for R1400
solve problem C and D in AtCoder Begineer Contest
—> solve problem C within 10 minutes
—> solve problem D within 20 minutes
means that you are Div1 coder(1900 above)
DP: DP related problem within range: R1200-R1400
mathematical concepts and thinkings —> solve Div1Easy of recent 100 SRMs
推荐一些入门级别的
labuladong
代码随想录
古城算法
入门算法分类总结:
https://respected-ferry-f00.notion.site/LeetCode_Public_V2-ed46b3d069af4c73be7261b47bd37a6e
Reference
https://leetcode.cn/circle/discuss/jq9Zke/
https://leetcode.cn/circle/discuss/h1JhXf/
https://leetcode.cn/circle/discuss/gmXruw/
https://leetcode.cn/circle/discuss/gmXruw/ 2700分总结
https://mp.weixin.qq.com/s/vQplUUb9-vns4nVQVMXdfQ 小满总结
https://leetcode.cn/circle/discuss/AQvMXx/ 1900 - 200 dp专项训练
https://www.1point3acres.com/bbs/thread-867424-1-1.html codeforce入门分析