LeetCode of the Day

01/03

  • Find first unique number in data stream II ---Heap

01/04

  • Find all anagrams in a string ---- sliding window

  • Subarray Sum Equals K ----以为是sliding window, 实则是2 sum变种

01/05

  • Heap Top K Frequent Elements ---- bucket sort solution

  • Kth Smallest Element in a Sorted Matrix ---- binary search solution

01/9

  • Longest Consecutive Sequence -- union find, 和set 做法

01/01

  • 5.Longest Palindromic Substring

  • 1.3 Sum

01/05

  • 20.Valid Parentheses

  • 25.Reverse Nodes in K-Group(iterative/recursive)

01/07

  • 82.Remove Duplicates from Sorted List II

01/15

  • LRU Cache

  • Basic Calculator

01/21

  • Subarray Sum系列 Kadane Algorithm

01/22

  • Min Cost Climbing Stairs(经典DP入门)

  • Convert Sorted List to Binary Search Tree

01/30

  • Triangle II

  • Balanced Binary Tree

02/05

  • Validate BST

06/25

  • 255.Verify Preorder Sequence in BST(好题,必刷)

  • 333 Largest BST Subtree

07/23

  • Delete Node in BST

  • Split BST

07/24

  • Flatten Nested List Iterator

07/25

  • All Nodes Distance K in Binary Tree

Last updated

Was this helpful?