An open API service indexing awesome lists of open source software.

https://github.com/jin5354/leetcode-solutions

leetcode solutions
https://github.com/jin5354/leetcode-solutions

Last synced: 3 months ago
JSON representation

leetcode solutions

Awesome Lists containing this project

README

        

# Leetcode Solutions

## 做题策略

1. 同类型的题目一起刷
2. 第一遍做题:5分钟想不出来就看答案;第二遍:尝试不看答案实现(1小时内);第三遍:尝试快速实现(20分钟内)
3. 每道题做完,看3-5种不同实现,且分析代码优缺点,复杂度差异,积累最佳实践(不需要在意奇淫技巧)
4. 需要注重的能力培养:
1. 拓宽思路
2. 快速的复杂度推算
3. 代码风格养成:一致的缩进、换行、括号,起变量名有意义

## 分类

### HashTable

- 1. Two Sum