Page Index - lifengyu360/lifengyu_first_git_test GitHub Wiki
161 page(s) in this GitHub Wiki:
- Home
- atoi 字符串转数字
- Please reload this page
- LRU
- Please reload this page
- sort2
- Please reload this page
- tcp三次握手 4次挥手
- Please reload this page
- 两数之和 II 输入有序数组 双指针分别从头尾向中间
- Please reload this page
- 两数相加 两个链表代表数字
- Please reload this page
- 中序和后序构建二叉树
- Please reload this page
- 二叉树最大深度
- Please reload this page
- 二叉树最大深度 递归
- Please reload this page
- 二叉树遍历
- Please reload this page
- 冒泡排序
- Please reload this page
- 删除排序数组中的重复项
- Please reload this page
- 删除链表中的值
- Please reload this page
- 删除链表的倒数第 n 个结点 两个指针,一个跑N后另外一个开始走
- Please reload this page
- 剑指 Offer 41. 数据流中的中位数 数据流中第k大的数字
- Please reload this page
- 反转字符串 vector
- Please reload this page
- 反转字符串中的单词 III 一个字符串,你需要反转字符串中每个单词的字符顺序,同时仍保留空格和单词的初始顺序。
- Please reload this page
- 反转链表 循环倒着建链表
- Please reload this page
- 合并k个有序链表
- Please reload this page
- 合并两个有序链表
- Please reload this page
- 合并区间
- Please reload this page
- 回文链表 放vector中,循环头和位逐个比较相等 双指针序号
- Please reload this page
- 堆排序
- Please reload this page
- 复制带随机指针的链表
- Please reload this page
- 奇偶链表
- Please reload this page
- 奇偶链表 两个指针 最后合并
- Please reload this page
- 实现 pow(x, n) ,即计算 x 的 n 次幂函数(即,xn)。
- Please reload this page
- 实现 strStr()
- Please reload this page
- 对称二叉树
- Please reload this page
- 寻找数组的中心下标
- Please reload this page
- 寻找旋转排序数组中的最小值
- Please reload this page
- 快慢指针 模板
- Please reload this page
- 快速排序
- Please reload this page
- 打印杨辉三角第k行
- Please reload this page
- 找数组的中心索引
- Please reload this page
- 插入排序
- Please reload this page
- 搜索插入位置 有序数组
- Please reload this page
- 搜索插入位置 有序数组 二分查找
- Please reload this page
- 搜索旋转排序数组 元素不同 整数数组 nums 按升序排列,数组中的值 互不相同 。
- Please reload this page
- 搜索旋转排序数组 II 已知存在一个按非降序排列的整数数组 nums ,数组中的值不必互不相同。
- Please reload this page
- 数字找到比它大的数字
- Please reload this page
- 数据流中的移动平均值
- Please reload this page
- 数组 删除某个值 双指针快慢指针
- Please reload this page
- 数组和字符串
- Please reload this page
- 数组拆分 min 数组对 和最大 排序后,两两成对就是答案
- Please reload this page
- 数组拆分 I min(ai, bi) 总和最大
- Please reload this page
- 旋转矩阵
- Please reload this page
- 旋转连表联表
- Please reload this page
- 旋转链表 使用vector压栈,倒着找到新的链表头,然后循环一把
- Please reload this page
- 最大连续1的个数 一个数组
- Please reload this page
- 最长公共前缀
- Please reload this page
- 最长公共前缀 找到最短串然后一个个字符比较
- Please reload this page
- 有序数组 找到两个数相加等于target ( 二分查找变形 从0,max两个数组相加,逐渐同时两比向中间靠拢)
- Please reload this page
- 杨辉三角 打印
- Please reload this page
- 杨辉三角 循环代码少
- Please reload this page
- 环形链表 循环 快慢指针
- Please reload this page
- 环形链表 II 给定一个链表,返回链表开始入环的第一个节点。 如果链表无环,则返回 null。
- Please reload this page
- 相交链表
- Please reload this page
- 秒杀系统
- Please reload this page
- 移动零
- Please reload this page
- 移除元素 vector使用函数erase函数
- Please reload this page
- 移除元素 数组中删除指定元素不考虑原顺序 循环简单
- Please reload this page
- 移除链表元素
- Please reload this page
- 第二个字符串在第一个字符串中出现的位置
- Please reload this page
- 给出一个数字 找出比它大的最小数字
- Please reload this page
- 翻转字符串里的单词
- Please reload this page
- 设计循环队列
- Please reload this page
- 设计链表 双链表
- Please reload this page
- 路径总和
- Please reload this page
- 连个链表的公共子链表节点 公共第1个 两个指针分别走headA,headB 走到NULL然后交替一下,相等的那个节点就是要找的节点
- Please reload this page
- 选择排序
- Please reload this page
- 递归 反转链表
- Please reload this page
- 递归 斐波那契数 map缓存中间结果
- Please reload this page
- 递归 反转字符串
- Please reload this page
- 递归 第K个语法符号
- Please reload this page
- 递归 合并两个有序链表
- Please reload this page
- 递归 两两交换链表中的两个节点
- Please reload this page
- 递归 爬楼梯
- Please reload this page
- 长度最小的子数组
- Please reload this page
- 零矩阵 清空所有的0所在的行和列(vector先找到对应元素i,j下标)
- Please reload this page