leetcode
leetcode copied to clipboard
Week 3
98 Validate BST * 7 https://leetcode.com/problems/validate-binary-search-tree 977 Squares of a Sorted Array *2 https://leetcode.com/problems/squares-of-a-sorted-array 140 Word Break II * 2 https://leetcode.com/problems/word-break-ii 29 Divide Two Integers *4 https://leetcode.com/problems/divide-two-integers 246 Strobogrammatic Number *2 https://leetcode.com/problems/strobogrammatic-number 450 Delete Node in a BST * 2 https://leetcode.com/problems/delete-node-in-a-bst 543 Diameter of Binary Tree *2 https://leetcode.com/problems/diameter-of-binary-tree 200 Number of Islands *3 https://leetcode.com/problems/number-of-islands 701 Insert into a Binary Search Tree * 2 https://leetcode.com/problems/insert-into-a-binary-search-tree 56 Merge Intervals *4 https://leetcode.com/problems/merge-intervals 498 Diagonal Traverse *2 https://leetcode.com/problems/diagonal-traverse 21 Merge Two Sorted Lists *3 https://leetcode.com/problems/merge-two-sorted-lists 239 Sliding Window Maximum *3 https://leetcode.com/problems/sliding-window-maximum 269 Alien Dictionary *8 https://leetcode.com/problems/alien-dictionary 636 Exclusive Time of Functions *2 https://leetcode.com/problems/exclusive-time-of-functions 986 Interval List Intersections *3 https://leetcode.com/problems/interval-list-intersections 15 3Sum *2 https://leetcode.com/problems/3sum Follow up: cannot sort 621 Task Scheduler *2 https://leetcode.com/problems/task-scheduler 238 Product of Array Except Self *6 https://leetcode.com/problems/product-of-array-except-self 339 Nested List Weight Sum *2 https://leetcode.com/problems/nested-list-weight-sum 560 Subarray Sum Equals K *6 https://leetcode.com/problems/subarray-sum-equals-k 680 Valid Palindrome II * 4 https://leetcode.com/problems/valid-palindrome-ii 20 Valid Parentheses *2 https://leetcode.com/problems/valid-parentheses 138 Copy List with Random Pointer *2 https://leetcode.com/problems/copy-list-with-random-pointer 1027 Longest Arithmetic Sequence *2 https://leetcode.com/problems/longest-arithmetic-sequence 215. Kth Largest Element in an Array * 6 https://leetcode.com/problems/kth-largest-element-in-an-array/ 490 The Maze * 2 https://leetcode.com/problems/the-maze 301 Remove Invalid Parentheses * 4 https://leetcode.com/problems/remove-invalid-parentheses 973 K Closest Points to Origin * 5 https://leetcode.com/problems/k-closest-points-to-origin 67 Add Binary *2 https://leetcode.com/problems/add-binary 199 Binary Tree Right Side View *2 https://leetcode.com/problems/binary-tree-right-side-view 126 Word Ladder II * 2 https://leetcode.com/problems/word-ladder-ii Follow up1 :如果要求输出最短的path怎么做 Follow up2: 可以增删字符的话怎么做 278 First Bad Version *3 https://leetcode.com/problems/first-bad-version 88 Merge Sorted Array * 3 https://leetcode.com/problems/merge-sorted-array 23 Merge k Sorted Lists *3 https://leetcode.com/problems/merge-k-sorted-lists 449 Serialize and Deserialize BST * 2 https://leetcode.com/problems/serialize-and-deserialize-bst 282 Expression Add Operators * 3 https://leetcode.com/problems/expression-add-operators 953 Verifying an Alien Dictionary *11 https://leetcode.com/problems/verifying-an-alien-dictionary 34 Find First and Last Position of Element in Sorted Array *3 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array 349 Intersection of Two Arrays *4 https://leetcode.com/problems/intersection-of-two-arrays 125 Valid Palindrome *2 https://leetcode.com/problems/valid-palindrome 340. Longest Substring with At Most K Distinct Characters *3 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters/ 767 Reorganize String *2 https://leetcode.com/problems/reorganize-string