2020-11-17 00:32:18 +08:00
|
|
|
|
# Leetcode 题解
|
|
|
|
|
|
|
|
|
|
## 前言
|
2019-11-03 01:26:12 +08:00
|
|
|
|
|
2019-05-15 00:18:04 +08:00
|
|
|
|
本文从 Leetcode 中精选大概 200 左右的题目,去除了某些繁杂但是没有多少算法思想的题目,同时保留了面试中经常被问到的经典题目。
|
|
|
|
|
|
2020-11-17 00:32:18 +08:00
|
|
|
|
## 算法思想
|
2019-04-25 18:24:51 +08:00
|
|
|
|
|
|
|
|
|
- [双指针](Leetcode%20题解%20-%20双指针.md)
|
|
|
|
|
- [排序](Leetcode%20题解%20-%20排序.md)
|
|
|
|
|
- [贪心思想](Leetcode%20题解%20-%20贪心思想.md)
|
|
|
|
|
- [二分查找](Leetcode%20题解%20-%20二分查找.md)
|
|
|
|
|
- [分治](Leetcode%20题解%20-%20分治.md)
|
|
|
|
|
- [搜索](Leetcode%20题解%20-%20搜索.md)
|
|
|
|
|
- [动态规划](Leetcode%20题解%20-%20动态规划.md)
|
|
|
|
|
- [数学](Leetcode%20题解%20-%20数学.md)
|
|
|
|
|
|
2020-11-17 00:32:18 +08:00
|
|
|
|
## 数据结构相关
|
2019-04-25 18:24:51 +08:00
|
|
|
|
|
|
|
|
|
- [链表](Leetcode%20题解%20-%20链表.md)
|
|
|
|
|
- [树](Leetcode%20题解%20-%20树.md)
|
|
|
|
|
- [栈和队列](Leetcode%20题解%20-%20栈和队列.md)
|
|
|
|
|
- [哈希表](Leetcode%20题解%20-%20哈希表.md)
|
|
|
|
|
- [字符串](Leetcode%20题解%20-%20字符串.md)
|
|
|
|
|
- [数组与矩阵](Leetcode%20题解%20-%20数组与矩阵.md)
|
|
|
|
|
- [图](Leetcode%20题解%20-%20图.md)
|
|
|
|
|
- [位运算](Leetcode%20题解%20-%20位运算.md)
|
|
|
|
|
|
2020-11-17 00:32:18 +08:00
|
|
|
|
## 参考资料
|
2019-04-25 18:24:51 +08:00
|
|
|
|
|
|
|
|
|
- Leetcode
|
|
|
|
|
- Weiss M A, 冯舜玺. 数据结构与算法分析——C 语言描述[J]. 2004.
|
|
|
|
|
- Sedgewick R. Algorithms[M]. Pearson Education India, 1988.
|
|
|
|
|
- 何海涛, 软件工程师. 剑指 Offer: 名企面试官精讲典型编程题[M]. 电子工业出版社, 2014.
|
|
|
|
|
- 《编程之美》小组. 编程之美[M]. 电子工业出版社, 2008.
|
|
|
|
|
- 左程云. 程序员代码面试指南[M]. 电子工业出版社, 2015.
|