【注意】
不再维护这篇文章的题目分类,维护更新到 http://blog.csdn.net/daigualu/article/details/70990973
LeetCode上的算法题,涉及到了很多经典的数据结构和算法,按照tag分类,主要包括以下几类。
数据结构 | 题目个数 |
---|---|
Array | 84个 |
Hash Table | 56个 |
Linked List | 27个 |
Math | 61个 |
Two Pointers | 35个 |
String | 61个 |
Binary Search | 38个 |
Divide and Conquer | 14 个 |
Dynamic Programming | 69个 |
Backtracking | 35个 |
Stack | 27个 |
Heap | 16个 |
Queue | 3个 |
Greedy | 20个 |
Bit Manipulation | 26个 |
Tree | 7个 |
Binary Indexed Tree | 5个 |
Binary Search Tree | 6个 |
Segment Tree | 5个 |
Union Find | 6个 |
Graph | 10个 |
Depth-first Search | 51个 |
Breadth-first Search | 28个 |
Design | 27个 |
Trie | 7个 |
Sort | 18个 |
Topological Sort | 5个 |
按照标签分类的源码下载见:
Array
http://download.csdn.net/detail/daigualu/9829402
DP
http://download.csdn.net/detail/daigualu/9829404
Tree
http://download.csdn.net/detail/daigualu/9829406
Stack
http://download.csdn.net/detail/daigualu/9829405
及其他