Skip to content
/ LeetCode Public

LeetCode java,kotlin语言算法题目 日常更新leetcode java刷题进度,力求高效算法以及更好的绕过各种算法应用场景遇到的坑.LeetCode algorithm topic Daily update leetcode brushing the progress of the problem, striving for efficient algorithms and better bypassing the pits encountered by various algorithm application scenarios.

Notifications You must be signed in to change notification settings

ATGD/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

LeetCode算法题目

Languagge

  • java
  • kotlin

keys

  1. 一定要仔细审题,再精妙的算法不符合题意都是白扯。
  2. 同样是吃香蕉,有时候倒着吃反而更方便
  3. 能用字典就不要用嵌套循环
  4. 信赖语言本身所带的api吧,这个效率要比你写的高得多
  5. 不要盲目的用递归算法
  6. 动态规划真是个解决问题的好办法
  7. 双指针的作用要比想象的大得多,应用场景也更加多
  8. 差速指针,双指针的变形
  9. 一般回溯法的题目都是中级以上难度了,加油!
  10. 字符串出现的问题,字母表的方式棒极了
  11. 如果题意明确说,只会出现26个小写或者大写字母,果断用字母表吧,不要犹豫
  12. 链表比想象中玩法多
  13. 摩尔投票算法,1v1,消耗非己票数
  14. 高级数据结构:字典树

About

LeetCode java,kotlin语言算法题目 日常更新leetcode java刷题进度,力求高效算法以及更好的绕过各种算法应用场景遇到的坑.LeetCode algorithm topic Daily update leetcode brushing the progress of the problem, striving for efficient algorithms and better bypassing the pits encountered by various algorithm application scenarios.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published