剑指Offer
fuqiuai
Github: https://github.com/fuqiuai
展开
-
【剑指Offer】序列化二叉树
题目链接:https://www.nowcoder.com/practice/cf7e25aa97c04cc1a68c8f040e71fb84?tpId=13&tqId=11214&tPage=4&rp=4&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述请实现...原创 2019-03-06 16:23:31 · 329 阅读 · 0 评论 -
【剑指Offer】(树)对称的二叉树
题目链接:https://www.nowcoder.com/practice/ff05d44dfdb04e1d83bdbdab320efbcb?tpId=13&tqId=11211&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述请实现...原创 2019-02-26 11:35:49 · 769 阅读 · 0 评论 -
【剑指Offer】(树)二叉树的下一个结点
题目链接:https://www.nowcoder.com/practice/9023a0c988684a53960365b889ceaf5e?tpId=13&tqId=11210&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述给定一...原创 2019-02-26 11:35:43 · 713 阅读 · 0 评论 -
【剑指Offer】(树)平衡二叉树
题目链接:https://www.nowcoder.com/practice/8b3b95850edb4115918ecebdf1b4d222?tpId=13&tqId=11192&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描原创 2019-02-26 11:35:35 · 742 阅读 · 0 评论 -
【剑指Offer】(树)二叉树的深度
题目链接:https://www.nowcoder.com/practice/435fb86331474282a3499955f0a41e8b?tpId=13&tqId=11191&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入一...原创 2019-02-25 20:40:29 · 736 阅读 · 0 评论 -
【剑指Offer】(树)二叉搜索树与双向链表
题目链接:https://www.nowcoder.com/practice/947f6eb80d944a84850b0538bf0ec3a5?tpId=13&tqId=11179&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入一...原创 2019-02-25 20:39:26 · 730 阅读 · 0 评论 -
【剑指Offer】(树)二叉树中和为某一值的路径
题目链接:https://www.nowcoder.com/practice/b736e784e3e34731af99065031301bca?tpId=13&tqId=11177&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入一...原创 2019-02-25 20:38:12 · 735 阅读 · 0 评论 -
【剑指Offer】(树)二叉搜索树的后序遍历序列
题目链接:https://www.nowcoder.com/practice/a861533d45854474ac791d90e447bafd?tpId=13&tqId=11176&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入一...原创 2019-02-25 20:37:09 · 745 阅读 · 0 评论 -
【剑指Offer】(树)按之字形顺序打印二叉树
题目链接:https://www.nowcoder.com/practice/91b69814117f4e8097390d107d2efbe0?tpId=13&tqId=11212&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述请实现...原创 2019-02-25 20:35:35 · 839 阅读 · 1 评论 -
【剑指Offer】(树)把二叉树打印成多行
题目链接:https://www.nowcoder.com/practice/7fe2212963db4790b57431d9ed259701?tpId=13&tqId=11175&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述从上到...原创 2019-02-25 20:33:46 · 768 阅读 · 0 评论 -
【剑指Offer】(树)从上往下打印二叉树
题目链接:https://www.nowcoder.com/practice/7fe2212963db4790b57431d9ed259701?tpId=13&tqId=11175&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述从上往...原创 2019-02-25 20:32:36 · 955 阅读 · 0 评论 -
【剑指Offer】(树)二叉树的镜像
题目链接:https://www.nowcoder.com/practice/564f4c26aa584921bc75623e48ca3011?tpId=13&tqId=11171&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述题目描...原创 2019-02-25 20:31:30 · 722 阅读 · 0 评论 -
【剑指Offer】(树)树的子结构
题目链接:https://www.nowcoder.com/practice/6e196c44c7004d15b1610b9afca8bd88?tpId=13&tqId=11170&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入两...原创 2019-02-25 20:30:14 · 741 阅读 · 0 评论 -
【剑指Offer】(树)重建二叉树
题目链接:https://www.nowcoder.com/practice/8a19cbe657394eeaac2f6ea9b0f6fcf6?tpId=13&tqId=11157&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入某...原创 2019-02-25 20:28:24 · 752 阅读 · 0 评论 -
【剑指Offer】(栈和队列)滑动窗口的最大值(双端队列)
题目链接:https://www.nowcoder.com/practice/1624bc35a45c42c0bc17d17fa0cba788?tpId=13&tqId=11217&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述给定一...原创 2019-03-01 14:41:02 · 953 阅读 · 0 评论 -
【剑指Offer】(树)二叉搜索树的第k个结点
题目链接:https://www.nowcoder.com/practice/ef068f602dde4d28aab2b210e859150a?tpId=13&tqId=11215&tPage=4&rp=4&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述给定一...原创 2019-02-26 11:36:10 · 760 阅读 · 0 评论 -
【剑指Offer】顺时针打印矩阵(模拟)
题目链接:https://www.nowcoder.com/practice/9b4c81a02cd34f76be2659fa0d54342a?tpId=13&tqId=11172&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入一...原创 2019-03-05 19:11:20 · 182 阅读 · 0 评论 -
【剑指Offer】(字符串)字符串的排列(回溯)
题目链接:https://www.nowcoder.com/practice/fe6b651b66ae47d7acce78ffdd9a96c7?tpId=13&tqId=11180&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入一...原创 2019-03-05 19:13:47 · 421 阅读 · 0 评论 -
【剑指Offer】数据流中的中位数(最大堆、最小堆)
题目链接:https://www.nowcoder.com/practice/9be0172896bd43948f8a32fb954e1be1?tpId=13&tqId=11216&tPage=4&rp=4&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述如何得...原创 2019-03-06 16:22:37 · 746 阅读 · 0 评论 -
【剑指Offer】正整数中1出现的次数(找规律)
题目链接:https://www.nowcoder.com/practice/bd7f978302044eee894445e244c7eee6?tpId=13&tqId=11184&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述求出1...原创 2019-03-06 16:20:58 · 339 阅读 · 0 评论 -
【剑指Offer】和为S的连续正数序列(双指针)
题目链接:https://www.nowcoder.com/practice/c451a3fd84b64cb19485dad758a55ebe?tpId=13&tqId=11194&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述小明很...原创 2019-03-06 16:17:16 · 177 阅读 · 0 评论 -
【剑指Offer】和为S的两个数字(二分查找)
题目链接:https://www.nowcoder.com/practice/390da4f7a00f44bea7c2f3d19491311b?tpId=13&tqId=11195&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入一...原创 2019-03-06 16:15:41 · 537 阅读 · 0 评论 -
【剑指Offer】机器人的运动范围(回溯)
题目链接:https://www.nowcoder.com/practice/6e5207314b5241fb83f2329e89fdecc8?tpId=13&tqId=11219&tPage=4&rp=4&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述地上有...原创 2019-03-06 16:14:03 · 219 阅读 · 0 评论 -
【剑指Offer】矩阵中的路径(回溯)
题目链接:https://www.nowcoder.com/practice/c61c6999eecb4b8f88a98f66b273a3cc?tpId=13&tqId=11218&tPage=4&rp=4&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述请设计...原创 2019-03-06 16:12:58 · 258 阅读 · 0 评论 -
【剑指Offer】(字符串)翻转单词顺序列(翻转操作)
题目链接:https://www.nowcoder.com/practice/3194a4f4cf814f63919d0790578d51f3?tpId=13&tqId=11197&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述牛客最...原创 2019-03-06 13:51:16 · 341 阅读 · 0 评论 -
【剑指Offer】(字符串)正则表达式匹配
题目链接:https://www.nowcoder.com/practice/45327ae22b7b413ea21df13ee7d6429c?tpId=13&tqId=11205&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述请实现...原创 2019-03-05 19:30:26 · 279 阅读 · 0 评论 -
【剑指Offer】(字符串)替换空格
题目链接:https://www.nowcoder.com/practice/4060ac7e3e404ad1a894ef3e17650423?tpId=13&tqId=11155&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述请实现...原创 2019-03-05 19:28:54 · 196 阅读 · 0 评论 -
【剑指Offer】(字符串)表示数值的字符串
题目链接:https://www.nowcoder.com/practice/6f8c901d091949a5837e24bb82a731f2?tpId=13&tqId=11206&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述请实现...原创 2019-03-05 19:25:15 · 576 阅读 · 0 评论 -
【剑指Offer】(字符串)把字符串转换成整数
题目链接:https://www.nowcoder.com/practice/1277c681251b4372bdef344468e4f26e?tpId=13&tqId=11202&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述将一个...原创 2019-03-05 19:20:28 · 147 阅读 · 0 评论 -
【剑指Offer】(字符串)左旋转字符串(翻转操作)
题目链接:https://www.nowcoder.com/practice/12d959b108cb42b1ab72cef4d36af5ec?tpId=13&tqId=11196&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述汇编语...原创 2019-03-05 19:18:03 · 349 阅读 · 0 评论 -
【剑指Offer】(字符串)字符流中第一个不重复的字符(哈希表)
题目链接:https://www.nowcoder.com/practice/00de97733b8e4f97a3fb5c680ee10720?tpId=13&tqId=11207&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述请实现...原创 2019-03-05 19:16:35 · 215 阅读 · 0 评论 -
【剑指Offer】(字符串)第一个只出现一次的字符(哈希表)
题目链接:https://www.nowcoder.com/practice/1c82e8cf713b4bbeb2a5b31cf5b0417c?tpId=13&tqId=11187&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述在一个...原创 2019-03-05 19:15:09 · 249 阅读 · 0 评论 -
【剑指Offer】(栈和队列)栈的压入、弹出序列
题目链接:https://www.nowcoder.com/practice/d77d11405cc7470d82554cb392585106?tpId=13&tqId=11174&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入两...原创 2019-03-01 14:39:35 · 875 阅读 · 0 评论 -
【剑指Offer】(栈和队列)包含min函数的栈
题目链接:https://www.nowcoder.com/practice/4c776177d2c04c2494f2555c9fcc1e49?tpId=13&tqId=11173&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述定义栈...原创 2019-03-01 14:38:18 · 764 阅读 · 0 评论 -
【剑指Offer】(链表)链表中倒数第k个结点
题目链接:https://www.nowcoder.com/practice/529d3ae5a407492994ad2a246518148a?tpId=13&tqId=11167&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述输入一...原创 2019-02-24 22:10:08 · 712 阅读 · 0 评论 -
【剑指Offer】(链表)从尾到头打印链表
题目链接:https://www.nowcoder.com/practice/d0267f7f55b3412ba93bd35cfa8e8035?tpId=13&tqId=11156&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描原创 2019-02-24 22:07:09 · 709 阅读 · 0 评论 -
【剑指Offer】(数组)二维数组的查找
题目链接:https://www.nowcoder.com/practice/abc3fe2ce8e146608e868a70efebf62e?tpId=13&tqId=11154&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描原创 2019-02-24 22:04:39 · 704 阅读 · 0 评论 -
【剑指Offer】不用加减乘除做加法(位运算)
题目链接:https://www.nowcoder.com/practice/59ac416b4b944300b617d4f7f111b215?tpId=13&tqId=11201&tPage=3&rp=3&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描原创 2019-02-28 12:17:10 · 755 阅读 · 0 评论 -
【剑指Offer】求1+2+3+...+n
题目链接:https://www.nowcoder.com/practice/6aa9e04fc3794f68acf8778237ba065b?tpId=13&tqId=11186&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述求1+...原创 2019-02-28 12:17:21 · 1327 阅读 · 0 评论 -
【剑指Offer】(数组)丑数
题目链接:https://www.nowcoder.com/practice/6aa9e04fc3794f68acf8778237ba065b?tpId=13&tqId=11186&tPage=1&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking题目描述把只包...原创 2019-02-27 22:35:37 · 757 阅读 · 0 评论