by Nian Li

Posted on December 2, 2018

Index | Problem | Topic | Github | Youtube |
---|---|---|---|---|

0 | Introduction | Introduction to leetcode | ||

15 | 3Sum | Return a list containing 3-variable lists which sums up to 0 without repetition | ||

18 | 4Sum | Return a list containing 4-variable lists which sums up to 0 without repetition | ||

23 | Merge k Sorted Lists (solution 1) |
Merge different sorted lists into one sorted lists by comparing items in lists every time | ||

23 | Merge k Sorted Lists (solution 2) |
Merge different sorted lists into one sorted lists by sorting dictionary | ||

33 | Search in Rotated Sorted Array | Find the index of target in an array wisely. | ||

39 | Combination Sum | Find all combination that sums to target | ||

67 | Add Binary | Given two binary strings, return their sum | ||

81 | Search in Rotated Sorted Array II | Find whether target exists in an array | ||

126 & 127 | Word Ladder | Find the shortest path from the beginning word to ending word by changing 1 letter in word each time | ||

252 | Meeting Rooms | Check whether all meetings can be attended | ||

253 | Meeting Rooms II (solution 1) | Find minumum rooms needed to hold all meetings using heap | ||

253 | Meeting Rooms II (solution 2) | Find minumum rooms needed to hold all meetings using permutations | ||

269 | Alien Dictionary | Find alien characters in correct sequence. | ||

953 | Verifying an Alien Dictionary | Check alien characters whether in correct sequence. |