add algorithm

This commit is contained in:
ShusenTang 2020-01-05 21:08:27 +08:00
parent c5e9dc6c5d
commit e5fbe5c82d

View File

@ -1,8 +1,9 @@
# LeetCode
My LeetCode solutions with Chinese explanation. 我的LeetCode中文题解。 My LeetCode solutions with Chinese explanation. 我的LeetCode中文题解。
每个题目都保证击败超过80%的提交,并尽量给出多种解法并分析算法复杂度。 每个题目都保证击败超过80%的提交,并尽量给出多种解法并分析算法复杂度。
每日持续更新中欢迎交流欢迎star :D 每日持续更新中欢迎交流欢迎star :D
另外,[`algorithm`](algorithm/README.md)文件夹对经典算法作了简单介绍并给出代码模板,方便刷题参考使用。
| # | 题目 | 题解 | 难度 | | # | 题目 | 题解 | 难度 |
| ---- | -----------| ------- | ------- | | ---- | -----------| ------- | ------- |
| 1 |[Two Sum](https://leetcode.com/problems/two-sum)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/1.%20Two%20Sum.md)|Easy| | | 1 |[Two Sum](https://leetcode.com/problems/two-sum)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/1.%20Two%20Sum.md)|Easy| |