View Code? Open in Web Editor
NEW
This project forked from shenweichen/coding_interviews
《剑指Offer》题目汇总&常考题总结(Python实现)
License: MIT License
coding_interviews's Introduction
题目 |
类别 |
备注 |
3.数组中重复的数字 |
Array |
常考 |
4.二维数组中的查找 |
Array |
常考 |
5.替换空格 |
String |
|
6.从尾到头打印链表 |
Linked List |
|
7.重建二叉树 |
Tree |
关注 |
8.二叉树的下一个结点 |
Tree |
关注 |
9.用两个栈实现队列 |
Stack ,Queue |
关注 |
9.两个队列实现栈 |
Stack ,Queue |
关注 |
10.斐波那契数列 |
Dynamic Programming , |
|
10.跳台阶 |
Dynamic Programming , |
|
10.变态跳台阶 |
Dynamic Programming ,Math |
|
10.矩形覆盖 |
Dynamic Programming , |
|
11.旋转数组的最小数字 |
Binary Search , |
常考 |
12.矩阵中的路径 |
BackTracking |
|
13.机器人的运动范围 |
BackTracking |
关注 |
14.剪绳子 |
Dynamic Programming |
|
15.二进制中的1的个数 |
Bit Manipulation , |
|
16.数值的整数次方 |
Math , |
关注 |
17.打印从1到最大的n位数 |
|
|
18.O(1)时间删除链表节点 |
Linked List |
|
18.删除链表中重复结点 |
Linked List |
常考 |
19.正则表达式匹配 |
String |
|
20.表示数值的字符串 |
String |
|
21.调整数组顺序使奇数位于偶数前面 |
|
关注 |
22.链表中倒数第k个结点 |
Linked List |
常考 |
23.链表中环的入口结点 |
Linked List |
常考 |
24.反转链表 |
Linked List |
|
25.合并两个排序的链表 |
Linked List |
|
26.树的子结构 |
Tree |
常考 |
27.二叉树的镜像 |
Tree |
|
28.对称的二叉树 |
Tree |
|
29.顺时针打印矩阵 |
Array |
|
30.包含min函数的栈 |
Stack |
|
31.栈的压入弹出序列 |
Stack |
常考 |
32.从上往下打印二叉树 |
Tree |
常考 |
32.按之字形顺序打印二叉树 |
Tree |
|
32.把二叉树打印成多行 |
Tree |
|
33.二叉搜索树的后序遍历序列 |
Tree |
常考 |
34.二叉树中和为某一值的路径 |
Tree |
|
35.复杂链表的复制 |
Linked List |
|
36.二叉搜索树与双向链表 |
Linked List |
|
37.序列化二叉树 |
Tree |
关注 |
38.字符串的排列 |
String |
关注 |
39.数组中出现次数超过一半的数字 |
Array |
常考 |
40.最小的k个数 |
Heap |
|
41.数据流中的中位数 |
|
常考 |
42.连续子数组最大和 |
Dynamic Programming |
|
43.整数中1出现的次数 |
Bit Manipulation |
关注 |
44.数字序列中某一位的数字 |
Math |
关注 |
45.把数组排成最小的数 |
String |
|
46.把数字翻译成字符串 |
String |
|
47.礼物的最大价值 |
Dynamic Programming |
|
48.最长不含重复字符的子字符串 |
Dynamic Programming |
常考 |
49.丑数 |
Math |
|
50.第一个只出现一次的字符 |
|
|
50.字符流中第一个不重复的字符 |
|
|
51.数组中的逆序对 |
Array |
常考 |
52.两个链表的第一个公共结点 |
Linked List |
|
53.数字在排序数组中出现的次数 |
Binary Search |
常考 |
54.二叉搜索树中的第k个结点 |
Tree |
|
55.二叉树的深度 |
Tree |
|
55.平衡二叉树 |
Tree |
|
56.数组中只出现一次的数字 |
Array |
|
57.和为S的两个数字 |
Array |
|
57.和为S的连续正数序列 |
Array |
关注 |
58.翻转单词序列 |
String |
|
58.左旋转字符串 |
String |
|
59.滑动窗口的最大值 |
Queue |
常考 |
60.n个骰子的点数 |
|
|
61.扑克牌顺子 |
|
|
62.孩子们的游戏 |
Math |
|
63.股票的最大利润 |
Math |
|
64.求1+2+3+...+n |
|
|
65.不用加减乘除做加法 |
Bit Manipulation |
|
66.构建乘积数组 |
Array |
|
67.把字符串转成整数 |
Bit Manipulation |
关注 |
68.树中两个节点的最低公共祖先 |
|
常考 |
coding_interviews's People
Watchers