https://github.com/jin5354/leetcode-solutions
leetcode solutions
https://github.com/jin5354/leetcode-solutions
Last synced: 3 months ago
JSON representation
leetcode solutions
- Host: GitHub
- URL: https://github.com/jin5354/leetcode-solutions
- Owner: jin5354
- Created: 2018-06-20T03:33:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-07T16:31:57.000Z (over 5 years ago)
- Last Synced: 2025-01-26T01:27:43.517Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Leetcode Solutions
## 做题策略
1. 同类型的题目一起刷
2. 第一遍做题:5分钟想不出来就看答案;第二遍:尝试不看答案实现(1小时内);第三遍:尝试快速实现(20分钟内)
3. 每道题做完,看3-5种不同实现,且分析代码优缺点,复杂度差异,积累最佳实践(不需要在意奇淫技巧)
4. 需要注重的能力培养:
1. 拓宽思路
2. 快速的复杂度推算
3. 代码风格养成:一致的缩进、换行、括号,起变量名有意义## 分类
### HashTable
- 1. Two Sum