search

Home  >  Q&A  >  body text

java - 关于leetcode刷题的顺序与资源?

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

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

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

PHP中文网PHP中文网2812 days ago595

reply all(2)I'll reply

  • 阿神

    阿神2017-04-18 10:16:59

    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

    reply
    0
  • 阿神

    阿神2017-04-18 10:16:59

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

    reply
    0
  • Cancelreply