Number | Problem | Solution | Tags | Note |
---|---|---|---|---|
1 | Two Sum | Solution | Hash Table, Complement, Array | [Note] |
79 | Word Search | Solution | Backtracking, DFS | [Note] |
128 | Longest Consecutive Sequence | Solution | Hash Table, Union Find, Array | [Note] |
169 | Majority Element | Solution | Array, Sorting, Hash | [Note] |
200 | Number of Islands | Solution | Graph, DFS, BFS | [Note] |
203 | Remove Linked List Elements | Solution | Linked List, Sentinel | [Note] |
207 | Course Schedule | Solution | Graph, DFS, Topological Sort, BFS | [Note] |
229 | Majority Element 2 | Solution | Array, Hash, Medium | [Note] |
261 | Graph Valid Tree | Solution | Graph, DFS | [Note] |
269 | Alien Dictionary | Solution | Array, String, DFS, BFS, Graph, Toplogical Sort | [Note] |
298 | Binary Tree Longest Consecutive Sequence | Solution | Binary Tree, DFS | [Note] |
323 | Number of Connected Components in an Undirected Graph | Solution | Graph, DFS | [Note] |
453 | Minimum Moves to Equal Array Elements | Solution | Array, Sorting, Math | [Note] |
462 | Minimum Moves to Equal Array Elements II | Solution | Array, Sorting, Math | [Note] |
542 | 01 Matrix | Solution | Array, Matrix, BFS, DP | [Note] |
547 | Number of Provinces | Solution | Graph, DFS, BFS | [Note] |
549 | Binary Tree Longest Consecutive Sequence II | Solution | Binary Tree, DFS | [Note] |
657 | Robot Return to Origin | Solution | String, Graph | [Note] |
696 | Count Binary Substrings | Solution | Array, Sliding Window, Two pointers | [Note] |
734 | Sentence Similarity | Solution | Hash, Array | [Note] |
841 | Keys and Rooms | Solution | Graph, DFS, BFS | [Note] |
953 | Verifying an Alien Dictionary | Solution | Hash Table, String, Array | [Note] |
1104 | Path In Zigzag Labelled Binary Tree | Solution | Recursion, Tree | [Note] |
1120 | Maximum Average Subtree | Solution | Recursion, Tree | [Note] |
1629 | Slowest Key | Solution | String, Array | [Note] |
1650 | Lowest Common Ancestor of a Binary Tree III | Solution | Tree, Hash Table, Recursion, Binary Tree | Additional Note |