A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Tag | ID | Name | Proficiency | Comments | 1st | 2nd | 3rd | 4th | 6th | 7th | 8th | 9th | 10th | 11th | 12th | 13th | 14th | 15th | |||||||
2 | Binary Search | 704 | Binary Search | ★ | 2022/07/22 | 10/17/2022 | 11/4/2022 | |||||||||||||||||||
3 | 69 | Sqrt(x) | ★ | Newton or binary search | 7/22/2022 | 10/17/2022 | 11/4/2022 | |||||||||||||||||||
4 | 374 | Guess Number Higher or Lower | ★ | 7/22/2022 | 10/17/2022 | 11/4/2022 | ||||||||||||||||||||
5 | 33 | Search in Rotated Sorted Array | ★ | 7/22/2022 | 10/17/2022 | 11/4/2022 | ||||||||||||||||||||
6 | 278 | First Bad Version | ★ | 7/22/2022 | 10/17/2022 | 11/4/2022 | ||||||||||||||||||||
7 | 162 | Find Peak Element | ★ | 7/22/2022 | 10/19/2022 | 11/4/2022 | ||||||||||||||||||||
8 | 153 | Find Minimum in Rotated Sorted Array | ★ | 7/22/2022 | 10/19/2022 | 11/4/2022 | ||||||||||||||||||||
9 | Find Minimum in Rotated Sorted Array II | |||||||||||||||||||||||||
10 | 34 | Find First and Last Position of Element in Sorted Array | ★ | 7/22/2022 | 10/19/2022 | 11/4/2022 | ||||||||||||||||||||
11 | 658 | Find K Closest Elements | ★ | read solution | 7/22/2022 | 10/31/2022 | 11/4/2022 | |||||||||||||||||||
12 | 702 | Search in a Sorted Array of Unknown Size | ★ | find boundries | ||||||||||||||||||||||
13 | 367 | Valid Perfect Square | ★ | use long | 10/31/2022 | 11/4/2022 | ||||||||||||||||||||
14 | 50 | Pow(x, n) | ★ | Iterative vs Recursive | ||||||||||||||||||||||
15 | 154 | Find Minimum in Rotated Sorted Array III | ★ | |||||||||||||||||||||||
16 | 719 | Find K-th Smallest Pair Distance | ★ | priority queue / prefix + bs / dp + bs / window or bs | 10/31/2022 | 11/4/2022 | ||||||||||||||||||||
17 | 410 | Split Array Largest Sum | ★ | dfs, dp, binary search | 10/31/2022 | 11/4/2022 | ||||||||||||||||||||
18 | 74 | Search a 2D Matrix | ★ | 10/27/2022 | 11/4/2022 | |||||||||||||||||||||
19 | 29 | Divide Two Integers | ★ | read solution | ||||||||||||||||||||||
20 | 302 | Smallest Rectangle Enclosing Black Pixels | ★ | |||||||||||||||||||||||
21 | 35 | Search Insert Position | ★ | 7/29/2022 | 10/19/2022 | 11/4/2022 | ||||||||||||||||||||
22 | 981 | Time Based Key-Value Store | ★ | Collections.binarySearch / Pair / Lamda comparator / TreeMap, solution1, solution2, solution3 | ||||||||||||||||||||||
23 | 875 | Koko Eating Bananas | ★ | Arrays.stream(piles).min().getAsInt() | ||||||||||||||||||||||
24 | 644 | Maximum Average Subarray II | ★ | Iterative / binary search + dp | ||||||||||||||||||||||
25 | 378 | Kth Smallest Element in a Sorted Matrix | ★ | heap / binary search, solution | 7/29/2022 | |||||||||||||||||||||
26 | 668 | Kth Smallest Number in Multiplication Table | ★ | heap / binary search | 7/29/2022 | 11/3/2022 | ||||||||||||||||||||
27 | 852 | Peak Index in a Mountain Array | ★ | 7/29/2022 | 11/3/2022 | 11/4/2022 | ||||||||||||||||||||
28 | 81 | Search in Rotated Sorted Array II | ★ | 7/29/2022 | 11/3/2022 | 11/4/2022 | ||||||||||||||||||||
29 | 4 | Median of Two Sorted Arrays | ★ | binary search / findKth | 7/29/2022 | 10/22/2022 | 11/4/2022 | |||||||||||||||||||
30 | 786 | K-th Smallest Prime Fraction | ★ | binary search / heap | 7/29/2022 | |||||||||||||||||||||
31 | 1011 | Capacity To Ship Packages Within D Days | ★ | int or long? constrains of inputs, Arrays.stream(weights).sum() | 8/9/2022 | 10/18/2022 | 11/4/2022 | |||||||||||||||||||
32 | 240 | Search a 2D Matrix II | ★ | divide & conquer solution is amazing | 7/29/2022 | 10/27/2022 | 11/4/2022 | |||||||||||||||||||
33 | 1889 | Minimum Space Wasted From Packaging | ★ | solution | ||||||||||||||||||||||
34 | 540 | Single Element in a Sorted Array | ★ | 7/29/2022 | 10/19/2022 | 11/4/2022 | ||||||||||||||||||||
35 | Two Pointers | 350 | Intersection of Two Arrays II | ★ | sort, hash, Arrays.copyOfRange(), Arrays.copyOf() | 7/29/2022 | 11/3/2022 | 11/4/2022 | ||||||||||||||||||
36 | 167 | Two Sum II - Input array is sorted | ★ | 7/29/2022 | 11/3/2022 | 11/4/2022 | ||||||||||||||||||||
37 | 876 | Middle of the Linked List | ★ | 8/1/2022 | 11/3/2022 | 11/4/2022 | ||||||||||||||||||||
38 | 283 | Move Zeroes | ★ | 8/1/2022 | 11/3/2022 | 11/4/2022 | ||||||||||||||||||||
39 | 26 | Remove Duplicates from Sorted Arrayy | ★ | 8/1/2022 | 10/25/2022 | 11/4/2022 | ||||||||||||||||||||
40 | 170 | Two Sum III - Data structure design | ★ | space or speed ? | ||||||||||||||||||||||
41 | 75 | Sort Colors | ★ | 8/1/2022 | 10/27/2022 | 11/4/2022 | ||||||||||||||||||||
42 | 15 | 3Sum | ★ | non-sort solution | 8/1/2022 | 10/20/2022 | 11/4/2022 | |||||||||||||||||||
43 | 259 | 3Sum Smaller | ★ | 8/1/2022 | ||||||||||||||||||||||
44 | 16 | 3Sum Closest | ★ | 8/1/2022 | 10/20/2022 | 11/4/2022 | ||||||||||||||||||||
45 | 141 | Linked List Cycle | ★ | 8/1/2022 | 10/19/2022 | 11/4/2022 | ||||||||||||||||||||
46 | 142 | Linked List Cycle II | ★ | understand Floyd's Tortoise and Hare Algorithm | 8/1/2022 | 10/19/2022 | 11/4/2022 | |||||||||||||||||||
47 | 160 | Intersection of Two Linked Lists | ★ | 九章solution | 8/1/2022 | 10/20/2022 | 11/4/2022 | |||||||||||||||||||
48 | 11 | Container With Most Water | ★ | 8/1/2022 | 10/20/2022 | 11/4/2022 | ||||||||||||||||||||
49 | 42 | Trapping Rain Water | ★ | dp / stack / two pointers | 8/1/2022 | 10/20/2022 | 11/4/2022 | |||||||||||||||||||
50 | 125 | Valid Palindrome | ★ | Character.isLetterOrDigit() | 8/1/2022 | 11/3/2022 | 11/4/2022 | |||||||||||||||||||
51 | 455 | Assign Cookies | ★ | |||||||||||||||||||||||
52 | 917 | Reverse Only Letters | ★ | |||||||||||||||||||||||
53 | 986 | Interval List Intersections | ★ | |||||||||||||||||||||||
54 | 925 | Long Pressed Name | ★ | read solution | ||||||||||||||||||||||
55 | 992 | Subarrays with K Different Integers | ★ | sliding window, similer here and here | ||||||||||||||||||||||
56 | 340 | Longest Substring with At Most K Distinct Characters | ★ | sliding window | ||||||||||||||||||||||
57 | 209 | Minimum Size Subarray Sum | ★ | |||||||||||||||||||||||
58 | 862 | Shortest Subarray with Sum at Least K | ★ | two pointer + monotonous deque | ||||||||||||||||||||||
59 | 904 | Fruit Into Baskets | ★ | sliding window | ||||||||||||||||||||||
60 | 1004 | Max Consecutive Ones IIII | ★ | sliding window | ||||||||||||||||||||||
61 | 1234 | Replace the Substring for Balanced Stringg | ★ | sliding window, read solution | ||||||||||||||||||||||
62 | 1248 | Count Number of Nice Subarrays | ★ | multiple solutions | ||||||||||||||||||||||
63 | 881 | Boats to Save People | ★ | greedy + two pointer | ||||||||||||||||||||||
64 | 977 | Squares of a Sorted Array | ★ | merge sort | ||||||||||||||||||||||
65 | 912 | Sort an Array | ★ | merge sort/ quick sort / heap sort, read solution | 11/7/2022 | |||||||||||||||||||||
66 | 1 | Two Sum | ★ | 8/1/2022 | 10/19/2022 | 11/5/2022 | ||||||||||||||||||||
67 | 80 | Remove Duplicates from Sorted Array II | ★ | |||||||||||||||||||||||
68 | 1013 | Partition Array Into Three Parts With Equal Sum | ★ | |||||||||||||||||||||||
69 | 18 | 4Sum | ★ | kSum solution | 10/21/2022 | |||||||||||||||||||||
70 | 454 | 4Sum II | ★ | kSum solution, recursion for nested loop | 10/21/2022 | 11/5/2022 | ||||||||||||||||||||
71 | 143i | Sort Colors II | ★ | quicksort varient | ||||||||||||||||||||||
72 | 31i | Partition Array | ★ | quicksort varient | ||||||||||||||||||||||
73 | 625i | Partition Array II | ★ | sort colors varient | ||||||||||||||||||||||
74 | 215 | Kth Largest Element in an Array | ★ | two quickselect templates from here and here | 8/1/2022 | |||||||||||||||||||||
75 | 533i | Two Sum - Closest to target | ★ | |||||||||||||||||||||||
76 | 382i | Triangle Count | ★ | |||||||||||||||||||||||
77 | 969 | Pancake Sorting | ★ | |||||||||||||||||||||||
78 | 610i | Two Sum - Difference equals to target | ★ | |||||||||||||||||||||||
79 | 3 | Longest Substring Without Repeating Characters | 8/1/2022 | 10/18/2022 | 11/5/2022 | |||||||||||||||||||||
80 | BFS DFS UnionFind (Graph & Search) | 200 | Number of Islands | ★ | Union Find, DFS, BFS | 8/1/2022 | 10/18/2022 | 11/5/2022 | ||||||||||||||||||
81 | 305 | Number of Islands II | ★ | Union Find | ||||||||||||||||||||||
82 | 102 | Binary Tree Level Order Traversal | ★ | stack, bfs | 8/1/2022 | 10/18/2022 | 11/5/2022 | |||||||||||||||||||
83 | 107 | Binary Tree Level Order Traversal II | ★ | 8/1/2022 | 10/18/2022 | 11/5/2022 | ||||||||||||||||||||
84 | 207 | Course Schedule | ★ | https://jingsam.github.io/2020/08/11/topological-sort.html | 8/2/2022 | 10/18/2022 | 11/5/2022 | |||||||||||||||||||
85 | 210 | Course Schedule II | ★ | 8/2/2022 | 10/18/2022 | 11/5/2022 | ||||||||||||||||||||
86 | 444 | Sequence Reconstruction | ★ | 8/2/2022 | ||||||||||||||||||||||
87 | 133 | Clone Graph | ★ | DFS, BFS | 10/19/2022 | 11/5/2022 | ||||||||||||||||||||
88 | 127 | Word Ladder | ★ | 10/21/2022 | 11/5/2022 | |||||||||||||||||||||
89 | 126 | Word Ladder II | ★ | BFS + DFS | ||||||||||||||||||||||
90 | 297 | Serialize and Deserialize Binary Tree | ★ | DFS, BFS | 10/21/2022 | 11/5/2022 | ||||||||||||||||||||
91 | 449 | Serialize and Deserialize BST | ★ | article and article | 8/2/2022 | 11/3/2022 | 11/5/2022 | |||||||||||||||||||
92 | 261 | Graph Valid Tree | ★ | DFS, BFS, UnionFind | ||||||||||||||||||||||
93 | 103 | Binary Tree Zigzag Level Order Traversal | ★ | |||||||||||||||||||||||
94 | 611i | Knight Shortest Path | ★ | |||||||||||||||||||||||
95 | 624i | Remove Substrings | ★ | |||||||||||||||||||||||
96 | 618i | Search Graph Nodes | ★ | |||||||||||||||||||||||
97 | 598i | Zombie in Matrix | ★ | days - 1 | ||||||||||||||||||||||
98 | 431i | Connected Component in Undirected Graph | ★ | BFS, UnionFind(HashMap) | ||||||||||||||||||||||
99 | 317 | Shortest Distance from All Buildings | ★ | practice bugs free | ||||||||||||||||||||||
100 | 794i | Sliding Puzzle II | ★ |