Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.16 KB

LeetCode.md

File metadata and controls

27 lines (22 loc) · 1.16 KB
  • LeetCode 001 Two Sum
  • LeetCode 015 3Sum(可能会问 LeetCode18.4Sum思路)
  • LeetCode 020 Valid Parentheses
  • LeetCode 021 Merge Two Sorted Lists
  • LeetCode 025 Reverse Nodes in k-group
  • LeetCode 053 Maximum Subarra
  • LeetCode 066 Plus One(等介于:高精度加加法)
  • LeetCode 098 Validate Binary Search Tree
  • LeetCode 110 Balanced Binary Tree
  • LeetCode 134 Gas Station
  • LeetCode 136 Single Number
  • LeetCode 137 Single Number II
  • LeetCode 146 LRU Cache(变形题:带有过期时间的LRU缓存)(Map + 链表)
  • LeetCode 206 Reverse Linked List(递归、迭代)
  • LeetCode 215 Kth Largest Element in an Array(等价于:快速排序)
  • LeetCode 232 Implement Queue using Stacks(每次将新来的元素放到栈底,stack.push())
  • LeetCode 328 Odd Even Linked List
  • LeetCode 415 Add Strings(等价于:大数加法)
  • LeetCode 470 rand70rand100
  • LeetCode 496 Next Greater Element I(时间复杂度O(n)(单调栈,使用 Map 映射 stack 的指定位置)
  • LeetCode 716 Max Stack(两个栈实现最大栈,要求pop,push, get max都为0(1)
  • LeetCode 860 Lemonade Change