梦想成真----刷题指南

1.序

在程序员面试中,A题是必过的一道关。所以我在这里给大家讲解一下我的A题的经验,以我个人的学习之后,应该能搞定所有的A题环节。我的A题主要以LeetCode 和剑指offer为主,其中剑指offer为必刷,LeetCode部分需要刷,还有就是在在面试中总结的。希望大家能认真看一下我总结的题,每一个都有思路和代码。如果能坚持看完并加以整理,那我相信A题不会成为你梦想的绊脚石。

2.剑指offer题目


https://blog.csdn.net/weixin_41563161/category_9411476.html
1二维数组中的查找
https://blog.csdn.net/weixin_41563161/article/details/102471409
2 替换空格
https://blog.csdn.net/weixin_41563161/article/details/102476568
3链表–从尾到头打印链表(剑指 LeetCode)
https://blog.csdn.net/weixin_41563161/article/details/102511668
4 树–重建二叉树
https://blog.csdn.net/weixin_41563161/article/details/102486184
5用两个栈实现队列
https://blog.csdn.net/weixin_41563161/article/details/102488945
6 旋转数组的最小数字
https://blog.csdn.net/weixin_41563161/article/details/102526639
7斐波那契数列
https://blog.csdn.net/weixin_41563161/article/details/102531688
8爬楼梯 跳台阶(暴力法,动态规划)
https://blog.csdn.net/weixin_41563161/article/details/101100016
9 变态跳台阶
https://blog.csdn.net/weixin_41563161/article/details/104132562
10矩形覆盖
https://blog.csdn.net/weixin_41563161/article/details/104132806
11二进制中1的个数
https://blog.csdn.net/weixin_41563161/article/details/102544693
12位运算、递归–数值的整数次方(超级次方)
https://blog.csdn.net/weixin_41563161/article/details/102573248
13调整数组顺序使奇数位于偶数的前面
https://blog.csdn.net/weixin_41563161/article/details/102586537
14 链表中倒数第k个数
https://blog.csdn.net/weixin_41563161/article/details/102589385
15反转链表
https://blog.csdn.net/weixin_41563161/article/details/102593077
16合并两个排序的链表
https://blog.csdn.net/weixin_41563161/article/details/102628639
17 树的子结构 、子树
https://blog.csdn.net/weixin_41563161/article/details/102631389
18 二叉树的镜像
https://blog.csdn.net/weixin_41563161/article/details/102640444
19 顺时针打印矩阵
https://blog.csdn.net/weixin_41563161/article/details/102654478
20 包含min函数的栈、合并min函数的栈
https://blog.csdn.net/weixin_41563161/article/details/104196414
21栈的压入、弹出序列
https://blog.csdn.net/weixin_41563161/article/details/102698942
22二叉树的遍历、N叉树的层序遍历
https://blog.csdn.net/weixin_41563161/article/details/102639284
23 二叉搜索树的后序遍历序列
https://blog.csdn.net/weixin_41563161/article/details/102706756
24 二叉树中和为某一值的路径
https://blog.csdn.net/weixin_41563161/article/details/102717518
25复杂链表的复制
https://blog.csdn.net/weixin_41563161/article/details/102731945
26 二叉搜索树与双向链表
https://blog.csdn.net/weixin_41563161/article/details/102777725
27 字符串排列
https://blog.csdn.net/weixin_41563161/article/details/102785373
28子集
https://blog.csdn.net/weixin_41563161/article/details/102823889
29数组中出现次数超过一半的数字
https://blog.csdn.net/weixin_41563161/article/details/102831519
30最大子序和(暴力法,动态规划,数组规律)找出区间、连续子数组最大和
https://blog.csdn.net/weixin_41563161/article/details/101027801
31 从1到n整数中1出现的次数(Java)
https://blog.csdn.net/weixin_41563161/article/details/103980125
32把数组排成最小的数
https://blog.csdn.net/weixin_41563161/article/details/102881429
33丑数
https://blog.csdn.net/weixin_41563161/article/details/102882506
34第一个只出现一次的字符
https://blog.csdn.net/weixin_41563161/article/details/102896500
35数组中的逆序对
https://blog.csdn.net/weixin_41563161/article/details/102918096
36两个链表的第一个公共结点
https://blog.csdn.net/weixin_41563161/article/details/102910326
37数字在排序数组中出现的次数
https://blog.csdn.net/weixin_41563161/article/details/103994964
38二叉树的最大深度
https://blog.csdn.net/weixin_41563161/article/details/102329514
39平衡二叉树
https://blog.csdn.net/weixin_41563161/article/details/102409294
40 数组中只出现一次的数字
https://blog.csdn.net/weixin_41563161/article/details/102969594
41和为s 的两个数字vs 和为s 的连续正数序列
https://blog.csdn.net/weixin_41563161/article/details/103011812
42翻转单词顺序VS左旋转字符串
https://blog.csdn.net/weixin_41563161/article/details/103019785
43 扑克牌顺子
https://blog.csdn.net/weixin_41563161/article/details/103064297
44孩子们的游戏(圆圈中最后剩下的数)
https://blog.csdn.net/weixin_41563161/article/details/104079621
45求1+2+3+…+n
https://blog.csdn.net/weixin_41563161/article/details/103068905
46不用加减乘除的加法
https://blog.csdn.net/weixin_41563161/article/details/103070172
47把字符串转化为整数
https://blog.csdn.net/weixin_41563161/article/details/103119605
48数组中重复的数字
https://blog.csdn.net/weixin_41563161/article/details/103156896
49构建乘积数组
https://blog.csdn.net/weixin_41563161/article/details/103159931
50正则表达式匹配(动态规划)
https://blog.csdn.net/weixin_41563161/article/details/100920889
51表示数值的字符串
https://blog.csdn.net/weixin_41563161/article/details/103178728
52正则表达式匹配(动态规划)
https://blog.csdn.net/weixin_41563161/article/details/100920889
53 表示数值的字符串
https://blog.csdn.net/weixin_41563161/article/details/103178728
54字符流中第一个不重复的字符(第一次只出现一次的字符)
https://blog.csdn.net/weixin_41563161/article/details/103241923
55链表中环的入口结点
https://blog.csdn.net/weixin_41563161/article/details/103239650
56在O(1)时间删除链表结点
https://blog.csdn.net/weixin_41563161/article/details/102583040
57剑指offer—二叉树的下一个结点
https://blog.csdn.net/weixin_41563161/article/details/104078605
58 剑指offer–对称二叉树(迭代法 队列)
https://blog.csdn.net/weixin_41563161/article/details/102308227
59序列化二叉树
https://blog.csdn.net/weixin_41563161/article/details/104078198
60二叉搜索树的第k大节点
https://blog.csdn.net/weixin_41563161/article/details/104935390
61数据流中的中位数
https://blog.csdn.net/weixin_41563161/article/details/104069505
62滑动窗口的最大值
https://blog.csdn.net/weixin_41563161/article/details/104069497
63矩阵中的路径
https://blog.csdn.net/weixin_41563161/article/details/104070047
64机器人的运动范围
https://blog.csdn.net/weixin_41563161/article/details/104077535
65剪绳子
https://blog.csdn.net/weixin_41563161/article/details/104076800

3.自己整理的题目

1最长公共字符串后缀
https://blog.csdn.net/weixin_41563161/article/details/109162404
2线程间通信
https://blog.csdn.net/weixin_41563161/article/details/104616099
3矩阵翻转
https://blog.csdn.net/weixin_41563161/article/details/108836568
4判断图是否有环
https://blog.csdn.net/weixin_41563161/article/details/108844284
5最长回文串(暴力法,中心扩展,动态规划)
https://blog.csdn.net/weixin_41563161/article/details/100899936
6 验证回文字符串 Ⅱ
https://blog.csdn.net/weixin_41563161/article/details/104863030
7旋转数组
https://blog.csdn.net/weixin_41563161/article/details/105368100
8无重复字符的最长子串
https://blog.csdn.net/weixin_41563161/article/details/105469788
9删除链表中的节点
https://blog.csdn.net/weixin_41563161/article/details/105469863
10只出现一次的数字I II III
https://blog.csdn.net/weixin_41563161/article/details/105476419
11(两数相加) 两数相加 II 链表的形式
https://blog.csdn.net/weixin_41563161/article/details/104767917
12数组中和为定值的子集
https://blog.csdn.net/weixin_41563161/article/details/105478185
13leetcode:两数之和,三数之和
https://blog.csdn.net/weixin_41563161/article/details/104762344
14树中两个结点的最低公共祖先
https://blog.csdn.net/weixin_41563161/article/details/105478923
15二叉树的遍历、N叉树的层序遍历
https://blog.csdn.net/weixin_41563161/article/details/102639284
16有序的数组中找到某一目标值首次出现的下标
https://blog.csdn.net/weixin_41563161/article/details/105089125
17最长公共子序列
https://blog.csdn.net/weixin_41563161/article/details/105502066
18排列子集总结
https://blog.csdn.net/weixin_41563161/article/details/104235944
19组合(回朔法)
https://blog.csdn.net/weixin_41563161/article/details/102823478
20喝啤酒问题
https://blog.csdn.net/weixin_41563161/article/details/104487492
21替换字符串中的通配符?
https://blog.csdn.net/weixin_41563161/article/details/105594686
22生成随机数
https://blog.csdn.net/weixin_41563161/article/details/104420411
23 一个01字符串,求出现0、1出现次数相等的最长子串长度
https://blog.csdn.net/weixin_41563161/article/details/105635697
24 均分钱币 (0 1背包问题)
https://blog.csdn.net/weixin_41563161/article/details/105645882
25七进制数、36进制加法
https://blog.csdn.net/weixin_41563161/article/details/105719486
26最长数字字符串
https://blog.csdn.net/weixin_41563161/article/details/105720165
27二叉树的最长的路径长度和最大路径和
https://blog.csdn.net/weixin_41563161/article/details/105741170
28二叉树的所有路径
https://blog.csdn.net/weixin_41563161/article/details/105746218
29高原数组 局部最大值
https://blog.csdn.net/weixin_41563161/article/details/105746671
30逆波兰表达式、波兰表达式
https://blog.csdn.net/weixin_41563161/article/details/105747432
31中缀表达式
https://blog.csdn.net/weixin_41563161/article/details/106092467
32 N阶台阶,每次走一步或两步,计算共有多少种走法,打印出每种走法。
https://blog.csdn.net/weixin_41563161/article/details/105786299
33打印所有回文串
https://blog.csdn.net/weixin_41563161/article/details/108823279

4.个人推广

博客地址https://blog.csdn.net/weixin_41563161

掘金https://juejin.cn/user/2814360172369271

知乎https://www.zhihu.com/people/hai-kuo-tian-kong-63-38-21

技术交流群

QQ

微信