note
network
dynamic_programming
LeetCode

Coin on the Table Redux


Eight Queens


LeetCode 106 - Construct Binary Tree from Inorder and Postorder Traversal


LeetCode 11 - Container With Most Water


LeetCode 116 - Populating Next Right Pointers in Each Node


LeetCode 120 - Triangle


LeetCode 128 - Longest Consecutive Sequence


LeetCode - 121-123 Best Time to Buy and Sell Stock


LeetCode 133 - Clone Gragh


LeetCode 137 - Single Number II


LeetCode - 138 Copy List with Random Pointer


LeetCode 139 - Word Break


LeetCode - 141 Linked List Cycle


LeetCode 140 - Word Break II


LeetCode 146 - LRU Cache


LeetCode 15 - 3 Sum

经典 3 Sum 问题


LeetCode 151 - Reverse Words in a String


LeetCode 10 - Regular Expression Matching


LeetCode 152 - Maximum Product Subarray


LeetCode 153 - Find Minimum in Rotated Sorted Array


LeetCode 105 - Construct Binary Tree from Preorder and Inorder Traversal


LeetCode 16 - 3Sum Closest


LeetCode - 168 Excel Sheet Column Title


LeetCode 173 - Binary Search Tree Iterator


LeetCode 17 - Letter Combinations of a Phone Number


LeetCode 186 - Reverse Words in a String II


LeetCode - 198 House Robber


LeetCode 2 - Add Two Numbers


LeetCode 200 - Number of Islands


LeetCode 18 - 4Sum

nSum


LeetCode 208 - Implement Trie (Prefix Tree)


LeetCode - 21 Merge Two Sorted Lists


LeetCode 213 - House Robber II


LeetCode 218 - The Skyline Problem


LeetCode 22 - Generate Parentheses


LeetCode 221 - Maximal Square


LeetCode 230 - Kth Smallest Element in a BST


LeetCode - 235 Lowest Common Ancestor of a Binary Search Tree


LeetCode - 24 Swap Nodes in Pairs


LeetCode 249 - Group Shifted Strings


LeetCode 254 - Factor Combinations


LeetCode 264 - Ugly Number II


LeetCode - 263 Ugly Number


LeetCode 279 - Perfect Squares


LeetCode 308 - Range Sum Query 2D - Mutable


LeetCode 300 - Longest Increasing Subsequence


LeetCode 318 - Maximum Product of Word Lengths


LeetCode 31 - Next Permutation


LeetCode 329 - Longest Increasing Path in a Matrix


LeetCode 291 - Word Pattern II


LeetCode 312 - Burst Balloons


LeetCode 33 - Search in Rotated Sorted Array


LeetCode 338 - Counting Bits


LeetCode 34 - Search for a Range


LeetCode 331 - Verify Preorder Serialization of a Binary Tree


LeetCode 341 - Flatten Nested List Iterator


LeetCode 35 - Search Insertion Position


LeetCode 332 - Reconstruct Itinerary


LeetCode 36 - Valid Sudoku


LeetCode 37 - Sudoku Solver


LeetCode 376 - Wiggle Subsequence


LeetCode 38 - Count and Say


LeetCode 380 - Insert Delete GetRandom O(1)


LeetCode 39 - Combination Sum


LeetCode 4 - Median of Two Sorted Arrays


LeetCode 394 - Decode String


LeetCode 40 - Combination Sum II


LeetCode 41 - First Missing Positive


LeetCode 409 - Longest Palindrome


LeetCode 413 - Arithmetic Slices


LeetCode 419 - Battleships in a Board


LeetCode 416 - Partition Equal Subset Sum


LeetCode 44 - Wildcard Matching


LeetCode 440 - K-th Smallest in Lexicographical Order


LeetCode 450 - Delete Node in a BST


LeetCode 452 - Minimum Number of Arrows to Burst Balloons


LeetCode 456 - 132 Pattern


LeetCode 464 - Can I Win


LeetCode 474 - Ones and Zeroes


LeetCode 48 - Rotate Image


LeetCode 417 - Pacific Atlantic Water Flow


LeetCode 432 - All O(1) Data Structure


LeetCode 493 - Reverse Pairs


LeetCode 491 - Increasing Subsequences


LeetCode 494 - Target Sum


LeetCode 55 - Jump Game


LeetCode 54 - Spiral Matrix


LeetCode 59 - Spiral Matrix II


LeetCode 592 - Fraction Addition and Subtraction


LeetCode 62 - Unique Paths


LeetCode 63 - Unique Paths II


LeetCode 64 - Minimum Path Sum


LeetCode 65 - Valid Number


LeetCode - 7 Reverse Integer


LeetCode - 70 Climbing Stairs


LeetCode 73 - Set Matrix Zero


LeetCode 74 - Search a 2D Matrix


LeetCode 79 - Word Search


LeetCode 75 - Sort Colors


LeetCode 91 - Decode Ways


LeetCode 68 - Text Justification


LeetCode 96 - Unique Binary Search Trees


LeetCode 95 - Unique Binary Search Trees II


Magic Index


Permutations With Duplicates


Power Set


Queue via Stacks


Recursive Multiply


Robot in a Grid


Stack of Boxes


Towers of Hanoi


Triple Step


LeetCode Weekly Contest 18A


LeetCode Weekly Contest 19


BFS
union find

Zombie Cluster


mubble

俗人