Starting 12/06/2017, a diary for solving LeetCode problems.
- 1/22 Mon (2, 154) *****
- 1/21 Sun (3, 152) *****
- 24 Swap Nodes in Pairs
- 25 Reverse Nodes in k-Group
- 29 Divide Two Integers
- 30 Substring with Concatenation of All Words
- 1/20 Sat (4, 149) *****
- 17 Letter Combinations of a Phone Number
- 18 4Sum
- 19 Remove Nth Node From End of List
- 23 Merge k Sorted Lists ---first self conquered Hard, Whooray!
- 1/19 Fri (5, 145) *****
- 11 Container With Most Water
- 12 Integer to Roman
- 15 3Sum
- 16 3Sum Closest
- 1/18 Thu (3, 140) *****
- 5 Longest Palindromic Substring
- 6 ZigZag Conversion
- 8 String to Integer (atoi)
- 10 Regular Expression Matching
- 1/17 Wed (1, 137) *****
- 1/16 Tue (3, 136) ***** strategy change, focus on the 1-400 for now
- 1/15 Mon (1, 133)
- 384 Shuffle an Array
- 1/12 Fri (1, 132)
- 1/11 Thu (5, 131)
- 503 Next Greater Element II
- 454 4Sum II
- 648 Replace Words
- 646 Maximum Length of Pair Chain
- 382 Linked List Random Node
- 1/10 Wed (3, 126)
- 1/9 Tue (3, 123)
- 547 Friend Circles
- 347 Top K Frequent Elements
- 672 Bulb Switcher II
- 1/8 Mon (3, 120)
- 529 Minesweeper
- 565 Array Nesting
- 655 Print Binary Tree
- 1/7 Sun (3, 117)
- 1/4 Thu (1, 114)
- 1/3 Wed (5, 113)
- 609 Find Duplicate File in System
- 677 Map Sum Pairs
- 462 Minimum Moves to Equal Array Elements II
- 495 Teemo Attacking
- 667 Beautiful Arrangement II
- 1/2 Tue (3, 108)
- 526 Beautiful Arrangement
- 739 Daily Temperatures
- 260 Single Number III
- 1/1 Mon Happy New Year (5, 105)
- 540 Single Element in a Sorted Array
- 647 Palindrome Substrings
- 515 Find Largest Value in Each Tree Row
- 748 Shortest Completing Word
- 413 Arithmetic Slices
- 526 Beautiful Arrangement
- 12/31 Sun (5, 100)
- 537 Complex Number Multiplication
- 419 Battleships in a Board
- 338 Counting Bits
- 442 Find All Duplicates in an Array
- 406 Queue Reconstruction by Height
- 12/30 Sat (3, 95)
- 12/29 Fri (5, 92)
- 204 Count Primes
- 278 First Bad Version
- 189 Rotate Array
- 479 Largest Palindrome Product
- 7 Reverse Integer
- 12/28 Thu (10, 87)
- 155 Min Stack
- 475 Heaters
- 190 Reverse Bits
- 581 Shortest Unsorted Continuous Subarray
- 28 Implement strStr()
- 69 Sqrt(x)
- 532 K-diff Pairs in an Array
- 414 Third Maximum Number
- 168 Excel Sheet Column Title
- 125 Valid Palindrome
- 12/27 Wed (6, 77)
- 58 Length of Last Word
- 14 Longest Common Prefix
- 303 Range Sum Query - Immutable
- 160 Intersection of Two Linked Lists
- 605 Can Place Flowers
- 400 Nth Digit
- 12/26 Tue (5, 71)
- 203 Remove Linked list Elements
- 219 Contains Duplicate II
- 680 Valid Palindrome II
- 633 Sum of Square Numbers
- 88 Merger Sorted Array
- 12/25 Mon, Merry Christmas (2, 66)
- 290 Word Pattern
- 234 Palindrome Linked list
- 12/24 Sun (4, 64)
- 12/23 Sat (1, 60)
- 12/22 Fri (7, 59)
- 374 Guess Number Higher or Lower
- 38 Guess Number Higher or Lower
- 26 Remove Duplicates from Sorted Array
- 9 Palindrome Number
- 141 Linked List Cycle
- 205 Isomorphic Strings
- 686 Repeated String Match
- 12/21 Thu (10, 52)
- 53 Maximum Subarray
- 645 Set Mismatch
- 198 House Robber
- 643 Maximum Average Subarray I
- 119 Pascal's Triangle II
- 232 Implement Queue using Stacks
- 443 String Compression
- 434 Number of Segments in a String
- 172 Fractorial Trailing Zeroes
- 1 Two Sum
- 12/20 Wed (1, 42)
- 36 Valid Sudoku
- 37 Sudoku Solver -- Not done
- 12/18 Mon (5, 41)
- 628 Maximum Product of Three Numbers
- 674 Longest Continuous Increasing Subsequence
- 482 License Key Formatting
- 724 Find Pivot Index
- 720 Longest Word in Dictionary
- 12/17 Sun (2, 36)
- 12/16 Sat (1, 34)
- 12/15 Fri (3, 33)
- 513 Find Bottom Left Tree Value
- 508 Most Frequent Subtree Sum
- 116 Populating Next Right Pointers in Each Node
Finished all easy tree problems. Change topic tomorrow.
- 12/14 Thu (7, 30)
- 235 Lowest Common Ancestor of a Binary Search Tree
- 563 Binary Tree Tilt
- 572 Subtree of Another Tree
- 104 Maximum Depth of Binary Tree
- 606 Construct String from Binary Tree
- 617 Merge Two Binary Trees
- 101 Symmetric Tree
- 12/13 Wed (4, 23)
- 12/12 Tue (2, 19)
- 12/11 Mon (5, 17)
- 107 Binary Tree Level Order Traversal II
- 226 Invert Binary Tree
- 257 Binary Tree Paths
- 404 Sum of Left Leaves
- 437 Path Sum III
- 12/10 Sun (3, 12)
- 12/09 Sat (1, 9)
- 12/08 Fri (2, 8)
- Made a pathetic solution, big room for improvement
- 12/07 Thu (5, 6)
- 383 Ransom Note
- 169 Majority Element
- 404 Sum of Left Leaves
- 455 Assign Cookies
- 687 Longest Univalue Path
- Unfinished, I need to get more comfortable with trees.
- 12/06 Wed (1, 1)