1, 13, 146, 56
1249, 200,53
20, 42, 680
3, 560, 121
2, 811
1762, 14
15, 253
215
5
(1) Hashmap, return [i, map.get(nums[i))]
(13) curr = [map[s[i]] next = [map[s[i + 1]]]
(56) start = intervals[i][0] end = intervals[i][1]
(1249) if(s[i] === "(") stack.push(i)
(200) DFS
(53)prev = Math.max(prev + nums[i], nums[i]);
(20) s = s.split("") switch(s[i])
(42) lMax = 0, rMax = 0; l = 0, r = height.length - 1
(680) low = 0, high = s.length - 1 while(low<high) if(s[low] !== s[high])
(3) visited.delete(s[slow]); visited.add(s[fast])
(560) map.set(0, 1);
(121) min = Math.min(min, prices[i] max = Math.max(max, max - prices[i]))
(2) let head = new ListNode(0) let res = head
(811) let [visits, domain] = cpdomains[i].split(" "); let subdomains = domain.split(".");
(14) if(str[i] !== strs[0][i]) {return str.slice(0, i);}
(1762) while(res.length && heights[i] >= heights(res[res.length - 1]))
(15) nSum(arr.slice(i + 1), [...result, arr[i]], target - arr[i], n - 1);
(253) let starts = intervals.map(a => a[0]).sort((a, b) => a - b); let ends = intervals.map(a => a[1]).sort((a, b) => a - b);
(215) return quickSelect(nums, 0, nums.length - 1, k);
(5) while(i >= 0 && j < s.length && s[i] === s[j])
71, 31
394, 22
227
79
11, 17
Review 71, 31, 394, 22, 227, 79, 11, 17
49, 217
923, 1268
1209 (289)
(298)
94, interview
54
347
49
1048
1091
48
1010
21, 50
1207
1 2 3 5
206, 283, 6
7, 9, 11
12, 13, 14, 15
16, 17
18, 19
20, 21, 22
24, 26, 27
28, 31
33, 34, 35
24, 26, 27
28, 31
33, 34, 35
36
38
39
40
42
43
45