Skip to content

liuyuhang791034063/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode


剑指offer LeetCode解题记录(python)

  • 2018.9.19 两数之和(Two Sum)
  • 2018.9.19 两数相加(Add Two Numbers)
  • 2018.9.25 翻转二叉树(Invert Binary Tree)
  • 2018.9.25 环形链表(Linked List Cycle)
  • 2018.9.25 环形链表 II(Linked List Cycle II)
  • 2018.9.26 删除排序链表中的重复元素 II(Remove Duplicates from Sorted List II)
  • 2018.9.27 重建二叉树(Rebuild Binary Tree)
  • 2018.9.28 把字符串转换成整数(Convert a string to an integer)
  • 2018.10.8 树的子结构(Substructure of the tree)
  • 2018.10.8 旋转数组的最小数字(Rotate The Smallest Number of Arrays)
  • 2018.10.9 二叉搜索树的后序遍历序列(Post-order traversal sequence of binary search tree)
  • 2018.10.9 用两个栈实现队列(Queue With Two Stacks)
  • 2018.10.10 二叉树的深度(The length of Binary Tree)
  • 2018.10.10 从上往下打印二叉树(Print binary tree from top to bottom)
  • 2018.10.11 栈的压入、弹出序列(Push-in, pop-up sequence of the stack)
  • 2018.10.11 平衡二叉树(Balanced binary tree)
  • 2018.10.11 包含min函数的栈(The Stack has min function)
  • 2018.10.13 顺时针打印矩阵(Clockwise printing matrix)
  • 2018.10.14 构建乘积数组(Building a product array)
  • 2018.10.15 两个链表的第一个公共结点(The first public node of the two linked lists)
  • 2018.10.16 把数组拍成最小的数(Arrange the array into the smallest number)
  • 2018.10.16 丑数(Ugly Number)
  • 2018.10.17 二叉树中和为某一值的路径 (The binary tree neutralizes the path to a certain value)
  • 2018.10.17 字符串的排列(Arrangement of strings)
  • 2018.10.21 复杂链表的复制(Replication of complex linked lists)
  • 2018.10.21 二叉搜索树与双向链表(Binary search tree and doubly linked list)
  • 2018.10.22 数组中出现次数超过一半的数字(Number of occurrences in the array that exceeds half)
  • 2018.10.22 最小的K个数(Minimum K number)
  • 2018.10.24 连续子数组的最大和(The largest sum of consecutive subarrays)
  • 2018.10.24 第一个只出现一次的字符(The first character that appears only once)
  • 2018.10.25 数组中的逆序对(Reverse order in array)
  • 2018.10.26 数字在排序数组中出现的次数(The number of times the number appears in the sorted array)
  • 2018.10.26 和为S的连续正数序列(And continuous positive sequence of S)
  • 2018.10.29 和为S的两个数字(And two numbers for S)
  • 2018.10.30 左旋转字符串(Left rotation string)
  • 2018.10.30 翻转单词顺序列(Flip word sequence column)
  • 2018.10.31 扑克牌顺子(Playing cards straight)
  • 2018.10.31 孩子们的游戏(Children's games)
  • 2018.11.1 数组中重复的数字(Duplicate numbers in the array)
  • 2018.11.1 正则表达式匹配(Regular expression matching)
  • 2018.11.2 表示数值的字符串(a string representing a numeric value)
  • 2018.11.2 字符流中第一个不重复的字符(The first non-repeating character in the character stream)
  • 2018.11.5 链表中环的入口结点(The entry node of the ring in the list)
  • 2018.11.5 删除链表中重复的结点(Delete duplicate nodes in the linked list)
  • 2018.11.7 二叉树的下一个结点(The next node of the binary tree)
  • 2018.11.7 对称的二叉树(Symmetric binary tree)
  • 2018.11.9 按之字形顺序打印二叉树(Print binary trees in zigzag order)
  • 2018.11.9 把二叉树打印成多行(Print a binary tree into multiple lines)
  • 2018.11.19 序列化二叉树(Serialized binary tree)
  • 2018.11.29 二叉搜索树的第k个结点(The kth node of the binary search tree)
  • 2018.11.30 数据流中的中位数(Median in the data stream)
  • 2018.12.2 滑动窗口的最大值(Maximum value of the sliding window)
  • 2018.12.3 矩阵中的路径(Path in the matrix)
  • 2018.12.5 机器人的运动范围(Robot's range of motion)
  • 2018.12.7 无重复字符的最长子串(Longest Substring Without Repeating Characters)
  • 2018.12.10 寻找两个有序数组的中位数(Median of Two Sorted Arrays)\
  • 2018.12.11 整数反转(Reverse Integer)
  • 2018.12.12 回文字符串(Palindrome Number)
  • 2018.12.15 盛最多水的容器(Container With Most Water)
  • 2018.12.16 最长公共前缀(Longest Common Prefix)
  • 2018.12.19 最接近的三数之和(3Sum Closest)
  • 2018.12.20 有效的括号(Valid Parentheses)
  • 2018.12.21 岛屿的个数(Number of Islands)
  • 2018.12.26 合并两个有序链表(Merge Two Sorted Lists)
  • 2018.12.27 合并K个排序链表(Merge k Sorted Lists)
  • 2018.12.28 删除排序数组中的重复项(Remove Duplicates from Sorted Array)
  • 2019.1.2 搜索旋转排序数组(Search in Rotated Sorted Array)
  • 2019.1.11 螺旋矩阵 II(Spiral Matrix II)
  • 2019.1.17 旋转链表(Rotate List)
  • 2019.1.22 不同路径(Unique Paths)
  • 2019.1.24 子集合(Subsets)
  • 2019.1.25 合并两个有序数组(Merge Sorted Array)
  • 2019.1.26 格雷编码(Gray Code)
  • 2019.1.28 买卖股票的最佳时机(Best Time to Buy and Sell Stock)
  • 2019.1.29 买卖股票的最佳时机 II(Best Time to Buy and Sell Stock II)
  • 2019.2.14 二叉树中的最大路径和(Binary Tree Maximum Path Sum)
  • 2019.2.15 LRU缓存机制(LRU Cache)
  • 2019.2.17 二叉树的堂兄弟节点(Cousin node of the binary tree)
  • 2019.2.18 排序链表(Sort List)
  • 2019.2.19 最小栈(Min Stack)
  • 2019.2.22 众数(Majority Element)
  • 2019.2.25 反转链表(Reverse Linked List)
  • 2019.2.28 搜索二维矩阵 II(Search the two-dimensional matrix II)
  • 2019.3.3 寻找最常用字符(Find Common Characters)
  • 2019.3.4 验证回文字符串(Verify the palindrome string)
  • 2019.3.6 分割回文字符串(Palindrome string segmentation)
  • 2019.3.7 单词拆分(The word split)

About

LeetCode刷题

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published