├── 2017校招真题 ├── n个数里最小的k个.py ├── 下厨房.py ├── 不要二.py ├── 两种排序方法.py ├── 买苹果.py ├── 优雅的点.py ├── 倒置字符串.py ├── 分田地.py ├── 分苹果.py ├── 删除公共字符.py ├── 合唱团.py ├── 回文序列.py ├── 地下迷宫.py ├── 字符串中找出连续最长的数字串.py ├── 小易喜欢的单词.py ├── 幸运的袋子.py ├── 招商银行.py ├── 数列还原.py ├── 数字和为sum的方法数.py ├── 数字游戏.py ├── 数字翻转.py ├── 星际穿越.py ├── 最大奇约数.py ├── 末尾0的个数.py ├── 求和-好未来.py ├── 求和.py ├── 百度.py ├── 素数对.py ├── 统计回文.py ├── 美团.py ├── 藏宝图.py ├── 解救小易.py ├── 计算糖果.py ├── 输入n个整数,输出出现次数大于等于数组长度一半的数。.py ├── 进制转换.py ├── 餐厅.py └── 饥饿的小易.py ├── README.md ├── 剑指offer ├── 不用加减乘除做加法.py ├── 丑数.py ├── 两个合并排序的链表.py ├── 两个栈实现队列.py ├── 两个链表的第一个公共节点.py ├── 二叉搜索树和双向链表.py ├── 二叉搜索树的后序遍历序列.py ├── 二叉搜索树的第k个节点.py ├── 二叉树中和为某一值的路径.py ├── 二叉树的下一个节点.py ├── 二叉树的深度.py ├── 二叉树的镜像.py ├── 二维数组中的查找.py ├── 二进制中1的个数.py ├── 从上往下打印二叉树.py ├── 从尾到头打印链表.py ├── 删除链表中重复的节点.py ├── 剑指offer-python实现.docx ├── 包含min函数的栈.py ├── 反转链表.py ├── 变态青蛙跳.py ├── 和为s的两个数字.py ├── 和为s的连续整数序列.py ├── 圆圈中最后剩下的数.py ├── 坐旋转字符串.py ├── 复杂链表的复制.py ├── 字符串的排列.py ├── 字符流中第一个不重复的字符.py ├── 对称的二叉树.py ├── 平衡二叉树.py ├── 序列化二叉树.py ├── 总结 ├── 扑克片顺子.py ├── 把二叉树打印成多行.py ├── 把字符串转化成整数.py ├── 把数组排成最小的数.py ├── 按之字形顺序打印二叉树.py ├── 数值的整数次方.py ├── 数字在排序数组中出现的次数.py ├── 数据流中的中位数.py ├── 数的子结构.py ├── 数组中出现次数超过一半的数字.py ├── 数组中只出现一次的数字.py ├── 数组中的逆序对.py ├── 数组中重复的数字.py ├── 整数中1出现的次数.py ├── 斐波那契数列.py ├── 旋转数组的最小数字.py ├── 替换空格.py ├── 最小的k个数.py ├── 机器人的运动范围.py ├── 构建乘积数组.py ├── 栈的压入弹出序列.py ├── 正则表达式匹配.py ├── 求1+2+3+...+n.py ├── 滑动窗口的最大值.py ├── 矩形覆盖.py ├── 矩阵中的路径.py ├── 第一个只出现一次的字符.py ├── 翻转单词顺序列.py ├── 表示数值的字符串.py ├── 调整数组顺序使奇数位于偶数前面.py ├── 连续子数组的最大和.py ├── 重建二叉树.py ├── 链表中倒数第k个节点.py ├── 链表中环的入口节点.py ├── 青蛙跳台阶.py └── 顺时针打印矩阵.py ├── 华为机试 ├── 删除字符串中出现次数最少的字符.py ├── 判断两个IP是否属于同一子网.py ├── 单词倒排.py ├── 取近似值.py ├── 句子逆序.py ├── 合唱队.py ├── 合并表记录.py ├── 图片整理.py ├── 坐标移动.py ├── 字串的连接最长路径查找.py ├── 字符个数统计.py ├── 字符串分割.py ├── 字符串加密.py ├── 字符串加密2.py ├── 字符串反转.py ├── 字符串合并处理.py ├── 字符串排序.py ├── 字符串最后一个单词的长度.py ├── 字符串运用-密码截取.py ├── 密码验证合格程序.py ├── 提取不重复的整数.py ├── 数字颠倒.py ├── 数据分类处理.py ├── 整数与IP地址间的转换.py ├── 明明的随机数.py ├── 查找兄弟单词.py ├── 求int型正整数在内存中存储时1的个数.py ├── 求小球落地5次后所经历的路程和第5次反弹的高度.py ├── 汽水瓶.py ├── 称砝码.py ├── 简单密码.py ├── 简单错误记录.py ├── 素数伴侣.py ├── 统计每个月兔子的总数.py ├── 蛇形矩阵.py ├── 计算字符个数.py ├── 识别有效的IP地址和掩码并进行分类统计.py ├── 质数因子.py ├── 购物单.py ├── 输入一行字符,分别统计出包含英文字母、空格、数字和其它字符的个数.py └── 进制转换.py ├── 机试题 ├── 排序.py ├── 生成指定长度的斐波那契数列.py └── 链表.py └── 直通BAT算法题 ├── 二叉树 ├── 1.py ├── 二叉树的前中后序的递归,非递归及Morris遍历.py ├── 二叉树的序列化和反序列化.py ├── 二叉树的按层打印.py └── 判断t1树中是否有与t2树拓扑结构完全相同的子树.py ├── 栈和队列 ├── 两个栈组成一个队列.py ├── 如何仅用递归函数和栈操作逆序一个栈.py ├── 构造数组的MaxTree.py ├── 求最大子矩阵的大小.py ├── 生成窗口最大值数组.py ├── 用一个栈实现另一个栈的排序.py └── 设计一个有getMin功能的栈.py └── 链表问题 ├── 判断一个链表是否为回文结构.py ├── 判断一个链表是否有环,如果有的话返回第一个进环的节点.py ├── 判断两个无环链表是否相交,相交则返回第一个相交节点.py ├── 判断两个有环链表是否相交,相交则返回第一个相交节点.py ├── 向有环的环形链表中插入新节点.py ├── 在单链表中删除指定值的节点.py ├── 复制含有随机指针节点的链表.py ├── 将单向链表按某值划分成左边小,中间相等,右边大的形式.py ├── 将单链表的每K个节点之间逆序.py ├── 打印两个有序链表的公共部分.py └── 节点删除方式.py /2017校招真题/n个数里最小的k个.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/n个数里最小的k个.py -------------------------------------------------------------------------------- /2017校招真题/下厨房.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/下厨房.py -------------------------------------------------------------------------------- /2017校招真题/不要二.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /2017校招真题/两种排序方法.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/两种排序方法.py -------------------------------------------------------------------------------- /2017校招真题/买苹果.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/买苹果.py -------------------------------------------------------------------------------- /2017校招真题/优雅的点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/优雅的点.py -------------------------------------------------------------------------------- /2017校招真题/倒置字符串.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/倒置字符串.py -------------------------------------------------------------------------------- /2017校招真题/分田地.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/分田地.py -------------------------------------------------------------------------------- /2017校招真题/分苹果.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/分苹果.py -------------------------------------------------------------------------------- /2017校招真题/删除公共字符.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/删除公共字符.py -------------------------------------------------------------------------------- /2017校招真题/合唱团.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/合唱团.py -------------------------------------------------------------------------------- /2017校招真题/回文序列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/回文序列.py -------------------------------------------------------------------------------- /2017校招真题/地下迷宫.py: -------------------------------------------------------------------------------- 1 | # dfs 2 | -------------------------------------------------------------------------------- /2017校招真题/字符串中找出连续最长的数字串.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/字符串中找出连续最长的数字串.py -------------------------------------------------------------------------------- /2017校招真题/小易喜欢的单词.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /2017校招真题/幸运的袋子.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/幸运的袋子.py -------------------------------------------------------------------------------- /2017校招真题/招商银行.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/招商银行.py -------------------------------------------------------------------------------- /2017校招真题/数列还原.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/数列还原.py -------------------------------------------------------------------------------- /2017校招真题/数字和为sum的方法数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/数字和为sum的方法数.py -------------------------------------------------------------------------------- /2017校招真题/数字游戏.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/数字游戏.py -------------------------------------------------------------------------------- /2017校招真题/数字翻转.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/数字翻转.py -------------------------------------------------------------------------------- /2017校招真题/星际穿越.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/星际穿越.py -------------------------------------------------------------------------------- /2017校招真题/最大奇约数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/最大奇约数.py -------------------------------------------------------------------------------- /2017校招真题/末尾0的个数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/末尾0的个数.py -------------------------------------------------------------------------------- /2017校招真题/求和-好未来.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/求和-好未来.py -------------------------------------------------------------------------------- /2017校招真题/求和.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/求和.py -------------------------------------------------------------------------------- /2017校招真题/百度.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/百度.py -------------------------------------------------------------------------------- /2017校招真题/素数对.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/素数对.py -------------------------------------------------------------------------------- /2017校招真题/统计回文.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/统计回文.py -------------------------------------------------------------------------------- /2017校招真题/美团.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/美团.py -------------------------------------------------------------------------------- /2017校招真题/藏宝图.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/藏宝图.py -------------------------------------------------------------------------------- /2017校招真题/解救小易.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/解救小易.py -------------------------------------------------------------------------------- /2017校招真题/计算糖果.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/计算糖果.py -------------------------------------------------------------------------------- /2017校招真题/输入n个整数,输出出现次数大于等于数组长度一半的数。.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/输入n个整数,输出出现次数大于等于数组长度一半的数。.py -------------------------------------------------------------------------------- /2017校招真题/进制转换.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/进制转换.py -------------------------------------------------------------------------------- /2017校招真题/餐厅.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/餐厅.py -------------------------------------------------------------------------------- /2017校招真题/饥饿的小易.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/2017校招真题/饥饿的小易.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Interview-code-practice-python 2 | 3 | 这是我为找工作准备的各类面试题,全部使用python实现 4 | 5 | 包括  剑指offer    csdn博客:http://blog.csdn.net/u012193416/article/details/79253398 6 | -------------------------------------------------------------------------------- /剑指offer/不用加减乘除做加法.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/不用加减乘除做加法.py -------------------------------------------------------------------------------- /剑指offer/丑数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/丑数.py -------------------------------------------------------------------------------- /剑指offer/两个合并排序的链表.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/两个合并排序的链表.py -------------------------------------------------------------------------------- /剑指offer/两个栈实现队列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/两个栈实现队列.py -------------------------------------------------------------------------------- /剑指offer/两个链表的第一个公共节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/两个链表的第一个公共节点.py -------------------------------------------------------------------------------- /剑指offer/二叉搜索树和双向链表.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二叉搜索树和双向链表.py -------------------------------------------------------------------------------- /剑指offer/二叉搜索树的后序遍历序列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二叉搜索树的后序遍历序列.py -------------------------------------------------------------------------------- /剑指offer/二叉搜索树的第k个节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二叉搜索树的第k个节点.py -------------------------------------------------------------------------------- /剑指offer/二叉树中和为某一值的路径.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二叉树中和为某一值的路径.py -------------------------------------------------------------------------------- /剑指offer/二叉树的下一个节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二叉树的下一个节点.py -------------------------------------------------------------------------------- /剑指offer/二叉树的深度.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二叉树的深度.py -------------------------------------------------------------------------------- /剑指offer/二叉树的镜像.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二叉树的镜像.py -------------------------------------------------------------------------------- /剑指offer/二维数组中的查找.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二维数组中的查找.py -------------------------------------------------------------------------------- /剑指offer/二进制中1的个数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/二进制中1的个数.py -------------------------------------------------------------------------------- /剑指offer/从上往下打印二叉树.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/从上往下打印二叉树.py -------------------------------------------------------------------------------- /剑指offer/从尾到头打印链表.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/从尾到头打印链表.py -------------------------------------------------------------------------------- /剑指offer/删除链表中重复的节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/删除链表中重复的节点.py -------------------------------------------------------------------------------- /剑指offer/剑指offer-python实现.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/剑指offer-python实现.docx -------------------------------------------------------------------------------- /剑指offer/包含min函数的栈.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/包含min函数的栈.py -------------------------------------------------------------------------------- /剑指offer/反转链表.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/反转链表.py -------------------------------------------------------------------------------- /剑指offer/变态青蛙跳.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/变态青蛙跳.py -------------------------------------------------------------------------------- /剑指offer/和为s的两个数字.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/和为s的两个数字.py -------------------------------------------------------------------------------- /剑指offer/和为s的连续整数序列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/和为s的连续整数序列.py -------------------------------------------------------------------------------- /剑指offer/圆圈中最后剩下的数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/圆圈中最后剩下的数.py -------------------------------------------------------------------------------- /剑指offer/坐旋转字符串.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/坐旋转字符串.py -------------------------------------------------------------------------------- /剑指offer/复杂链表的复制.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/复杂链表的复制.py -------------------------------------------------------------------------------- /剑指offer/字符串的排列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/字符串的排列.py -------------------------------------------------------------------------------- /剑指offer/字符流中第一个不重复的字符.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/字符流中第一个不重复的字符.py -------------------------------------------------------------------------------- /剑指offer/对称的二叉树.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/对称的二叉树.py -------------------------------------------------------------------------------- /剑指offer/平衡二叉树.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/平衡二叉树.py -------------------------------------------------------------------------------- /剑指offer/序列化二叉树.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/序列化二叉树.py -------------------------------------------------------------------------------- /剑指offer/总结: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/总结 -------------------------------------------------------------------------------- /剑指offer/扑克片顺子.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/扑克片顺子.py -------------------------------------------------------------------------------- /剑指offer/把二叉树打印成多行.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/把二叉树打印成多行.py -------------------------------------------------------------------------------- /剑指offer/把字符串转化成整数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/把字符串转化成整数.py -------------------------------------------------------------------------------- /剑指offer/把数组排成最小的数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/把数组排成最小的数.py -------------------------------------------------------------------------------- /剑指offer/按之字形顺序打印二叉树.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/按之字形顺序打印二叉树.py -------------------------------------------------------------------------------- /剑指offer/数值的整数次方.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/数值的整数次方.py -------------------------------------------------------------------------------- /剑指offer/数字在排序数组中出现的次数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/数字在排序数组中出现的次数.py -------------------------------------------------------------------------------- /剑指offer/数据流中的中位数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/数据流中的中位数.py -------------------------------------------------------------------------------- /剑指offer/数的子结构.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/数的子结构.py -------------------------------------------------------------------------------- /剑指offer/数组中出现次数超过一半的数字.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/数组中出现次数超过一半的数字.py -------------------------------------------------------------------------------- /剑指offer/数组中只出现一次的数字.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/数组中只出现一次的数字.py -------------------------------------------------------------------------------- /剑指offer/数组中的逆序对.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/数组中的逆序对.py -------------------------------------------------------------------------------- /剑指offer/数组中重复的数字.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/数组中重复的数字.py -------------------------------------------------------------------------------- /剑指offer/整数中1出现的次数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/整数中1出现的次数.py -------------------------------------------------------------------------------- /剑指offer/斐波那契数列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/斐波那契数列.py -------------------------------------------------------------------------------- /剑指offer/旋转数组的最小数字.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/旋转数组的最小数字.py -------------------------------------------------------------------------------- /剑指offer/替换空格.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/替换空格.py -------------------------------------------------------------------------------- /剑指offer/最小的k个数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/最小的k个数.py -------------------------------------------------------------------------------- /剑指offer/机器人的运动范围.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/机器人的运动范围.py -------------------------------------------------------------------------------- /剑指offer/构建乘积数组.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/构建乘积数组.py -------------------------------------------------------------------------------- /剑指offer/栈的压入弹出序列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/栈的压入弹出序列.py -------------------------------------------------------------------------------- /剑指offer/正则表达式匹配.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/正则表达式匹配.py -------------------------------------------------------------------------------- /剑指offer/求1+2+3+...+n.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/求1+2+3+...+n.py -------------------------------------------------------------------------------- /剑指offer/滑动窗口的最大值.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/滑动窗口的最大值.py -------------------------------------------------------------------------------- /剑指offer/矩形覆盖.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/矩形覆盖.py -------------------------------------------------------------------------------- /剑指offer/矩阵中的路径.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/矩阵中的路径.py -------------------------------------------------------------------------------- /剑指offer/第一个只出现一次的字符.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/第一个只出现一次的字符.py -------------------------------------------------------------------------------- /剑指offer/翻转单词顺序列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/翻转单词顺序列.py -------------------------------------------------------------------------------- /剑指offer/表示数值的字符串.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/表示数值的字符串.py -------------------------------------------------------------------------------- /剑指offer/调整数组顺序使奇数位于偶数前面.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/调整数组顺序使奇数位于偶数前面.py -------------------------------------------------------------------------------- /剑指offer/连续子数组的最大和.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/连续子数组的最大和.py -------------------------------------------------------------------------------- /剑指offer/重建二叉树.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/重建二叉树.py -------------------------------------------------------------------------------- /剑指offer/链表中倒数第k个节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/链表中倒数第k个节点.py -------------------------------------------------------------------------------- /剑指offer/链表中环的入口节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/链表中环的入口节点.py -------------------------------------------------------------------------------- /剑指offer/青蛙跳台阶.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/青蛙跳台阶.py -------------------------------------------------------------------------------- /剑指offer/顺时针打印矩阵.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/剑指offer/顺时针打印矩阵.py -------------------------------------------------------------------------------- /华为机试/删除字符串中出现次数最少的字符.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/删除字符串中出现次数最少的字符.py -------------------------------------------------------------------------------- /华为机试/判断两个IP是否属于同一子网.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /华为机试/单词倒排.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/单词倒排.py -------------------------------------------------------------------------------- /华为机试/取近似值.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/取近似值.py -------------------------------------------------------------------------------- /华为机试/句子逆序.py: -------------------------------------------------------------------------------- 1 | x = input().split() 2 | print(' '.join(x[::-1])) 3 | -------------------------------------------------------------------------------- /华为机试/合唱队.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/合唱队.py -------------------------------------------------------------------------------- /华为机试/合并表记录.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/合并表记录.py -------------------------------------------------------------------------------- /华为机试/图片整理.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/图片整理.py -------------------------------------------------------------------------------- /华为机试/坐标移动.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/坐标移动.py -------------------------------------------------------------------------------- /华为机试/字串的连接最长路径查找.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字串的连接最长路径查找.py -------------------------------------------------------------------------------- /华为机试/字符个数统计.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字符个数统计.py -------------------------------------------------------------------------------- /华为机试/字符串分割.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字符串分割.py -------------------------------------------------------------------------------- /华为机试/字符串加密.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字符串加密.py -------------------------------------------------------------------------------- /华为机试/字符串加密2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字符串加密2.py -------------------------------------------------------------------------------- /华为机试/字符串反转.py: -------------------------------------------------------------------------------- 1 | print(input()[::-1]) 2 | -------------------------------------------------------------------------------- /华为机试/字符串合并处理.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字符串合并处理.py -------------------------------------------------------------------------------- /华为机试/字符串排序.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字符串排序.py -------------------------------------------------------------------------------- /华为机试/字符串最后一个单词的长度.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字符串最后一个单词的长度.py -------------------------------------------------------------------------------- /华为机试/字符串运用-密码截取.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/字符串运用-密码截取.py -------------------------------------------------------------------------------- /华为机试/密码验证合格程序.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/密码验证合格程序.py -------------------------------------------------------------------------------- /华为机试/提取不重复的整数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/提取不重复的整数.py -------------------------------------------------------------------------------- /华为机试/数字颠倒.py: -------------------------------------------------------------------------------- 1 | print(input()[::-1]) 2 | -------------------------------------------------------------------------------- /华为机试/数据分类处理.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/数据分类处理.py -------------------------------------------------------------------------------- /华为机试/整数与IP地址间的转换.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/整数与IP地址间的转换.py -------------------------------------------------------------------------------- /华为机试/明明的随机数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/明明的随机数.py -------------------------------------------------------------------------------- /华为机试/查找兄弟单词.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/查找兄弟单词.py -------------------------------------------------------------------------------- /华为机试/求int型正整数在内存中存储时1的个数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/求int型正整数在内存中存储时1的个数.py -------------------------------------------------------------------------------- /华为机试/求小球落地5次后所经历的路程和第5次反弹的高度.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/求小球落地5次后所经历的路程和第5次反弹的高度.py -------------------------------------------------------------------------------- /华为机试/汽水瓶.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/汽水瓶.py -------------------------------------------------------------------------------- /华为机试/称砝码.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/称砝码.py -------------------------------------------------------------------------------- /华为机试/简单密码.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/简单密码.py -------------------------------------------------------------------------------- /华为机试/简单错误记录.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/简单错误记录.py -------------------------------------------------------------------------------- /华为机试/素数伴侣.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /华为机试/统计每个月兔子的总数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/统计每个月兔子的总数.py -------------------------------------------------------------------------------- /华为机试/蛇形矩阵.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/蛇形矩阵.py -------------------------------------------------------------------------------- /华为机试/计算字符个数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/计算字符个数.py -------------------------------------------------------------------------------- /华为机试/识别有效的IP地址和掩码并进行分类统计.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/识别有效的IP地址和掩码并进行分类统计.py -------------------------------------------------------------------------------- /华为机试/质数因子.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/质数因子.py -------------------------------------------------------------------------------- /华为机试/购物单.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/购物单.py -------------------------------------------------------------------------------- /华为机试/输入一行字符,分别统计出包含英文字母、空格、数字和其它字符的个数.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/输入一行字符,分别统计出包含英文字母、空格、数字和其它字符的个数.py -------------------------------------------------------------------------------- /华为机试/进制转换.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/华为机试/进制转换.py -------------------------------------------------------------------------------- /机试题/排序.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/机试题/排序.py -------------------------------------------------------------------------------- /机试题/生成指定长度的斐波那契数列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/机试题/生成指定长度的斐波那契数列.py -------------------------------------------------------------------------------- /机试题/链表.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/机试题/链表.py -------------------------------------------------------------------------------- /直通BAT算法题/二叉树/1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/二叉树/1.py -------------------------------------------------------------------------------- /直通BAT算法题/二叉树/二叉树的前中后序的递归,非递归及Morris遍历.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/二叉树/二叉树的前中后序的递归,非递归及Morris遍历.py -------------------------------------------------------------------------------- /直通BAT算法题/二叉树/二叉树的序列化和反序列化.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/二叉树/二叉树的序列化和反序列化.py -------------------------------------------------------------------------------- /直通BAT算法题/二叉树/二叉树的按层打印.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/二叉树/二叉树的按层打印.py -------------------------------------------------------------------------------- /直通BAT算法题/二叉树/判断t1树中是否有与t2树拓扑结构完全相同的子树.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/二叉树/判断t1树中是否有与t2树拓扑结构完全相同的子树.py -------------------------------------------------------------------------------- /直通BAT算法题/栈和队列/两个栈组成一个队列.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/栈和队列/两个栈组成一个队列.py -------------------------------------------------------------------------------- /直通BAT算法题/栈和队列/如何仅用递归函数和栈操作逆序一个栈.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/栈和队列/如何仅用递归函数和栈操作逆序一个栈.py -------------------------------------------------------------------------------- /直通BAT算法题/栈和队列/构造数组的MaxTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/栈和队列/构造数组的MaxTree.py -------------------------------------------------------------------------------- /直通BAT算法题/栈和队列/求最大子矩阵的大小.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /直通BAT算法题/栈和队列/生成窗口最大值数组.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/栈和队列/生成窗口最大值数组.py -------------------------------------------------------------------------------- /直通BAT算法题/栈和队列/用一个栈实现另一个栈的排序.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/栈和队列/用一个栈实现另一个栈的排序.py -------------------------------------------------------------------------------- /直通BAT算法题/栈和队列/设计一个有getMin功能的栈.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/栈和队列/设计一个有getMin功能的栈.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/判断一个链表是否为回文结构.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/判断一个链表是否为回文结构.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/判断一个链表是否有环,如果有的话返回第一个进环的节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/判断一个链表是否有环,如果有的话返回第一个进环的节点.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/判断两个无环链表是否相交,相交则返回第一个相交节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/判断两个无环链表是否相交,相交则返回第一个相交节点.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/判断两个有环链表是否相交,相交则返回第一个相交节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/判断两个有环链表是否相交,相交则返回第一个相交节点.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/向有环的环形链表中插入新节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/向有环的环形链表中插入新节点.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/在单链表中删除指定值的节点.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/在单链表中删除指定值的节点.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/复制含有随机指针节点的链表.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/复制含有随机指针节点的链表.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/将单向链表按某值划分成左边小,中间相等,右边大的形式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/将单向链表按某值划分成左边小,中间相等,右边大的形式.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/将单链表的每K个节点之间逆序.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/将单链表的每K个节点之间逆序.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/打印两个有序链表的公共部分.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/打印两个有序链表的公共部分.py -------------------------------------------------------------------------------- /直通BAT算法题/链表问题/节点删除方式.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leeguandong/Interview-code-practice-python/HEAD/直通BAT算法题/链表问题/节点删除方式.py --------------------------------------------------------------------------------