java - 关于leetcode刷题的顺序与资源?
PHP中文网
PHP中文网 2017-04-18 10:14:59
0
2
564

寒假准备在leetcode上刷一个月的习题,想请教有经验的网友们一些问题。

  1. leetcode上大约有近200道题目,都已经按标签分类了,各位网友一般是按照标签来刷吗?还是说每天不同类型的都刷一点,不同的人可能喜好不同,能否推荐一些刷题技巧性的文章,因为我想趁着一个多月的时间基本将常见的题目拿下。注释:有一点的算法基础,本学期断断续续看了一些题目,二叉树/红黑树/常见的排序算法之类的基本都了解,图不是很了解,白板写还是有压力不熟练。

  2. 有什么公认的比较好的leetcode刷题repo,就是说已经刷完了题并且同步到github上反映比较好的repo,我好做一些参考。

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
阿神

Even if the questioner didn’t tag JavaScript, I still want to answer angrily and give the questioner some respect (there are still not many people who are interested in algorithms)

200 questions, I don’t know how to count them? I have already done 300 questions, not including the locked questions, and the algorithm questions of leetcode are almost 500, not including database, etc.

How to brush? It varies from person to person. At the beginning, you should definitely brush the easy questions casually to master some basic skills, and then you can brush them according to the categories. However, I usually just read the questions directly and study them if I am interested. If I encounter a new algorithm or data structure, I will learn it.

What are the better repos for solving questions? If you want to brush up on JavaScript, you must recommend yourself to https://github.com/hanzichi/l..., which should be the JavaScript class with the most stars. For other languages, search leetcode on GitHub, select the language, sort by star, and you should be pretty close.

In addition, leetcode also has prizes every week. https://leetcode.com/contest/, FYI

阿神

For reference, some students have columns in the csdn blog
LeetCode Summary - Allan's Column - Blog Channel - CSDN.NET

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!