about summary refs log tree commit diff
path: root/users/wpcarro/scratch/facebook/leetcode.org
blob: 6e915faf29130f36029651382bb549da40a1c495 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# This list is from:
# https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-100-LeetCode-Questions-to-Save-Your-Time-OaM1orEU
* Array
** DONE Two Sum
   https://leetcode.com/problems/two-sum/
** DONE Best Time to Buy and Sell Stock
   https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
** DONE Contains Duplicate
   https://leetcode.com/problems/contains-duplicate/
** DONE Product of Array Except Self
   https://leetcode.com/problems/product-of-array-except-self/
** DONE Maximum Subarray
   https://leetcode.com/problems/maximum-subarray/
** DONE Maximum Product Subarray
   https://leetcode.com/problems/maximum-product-subarray/
** DONE Find Minimum in Rotated Sorted Array
   https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
** DONE Search in Rotated Sorted Array
   https://leetcode.com/problems/search-in-rotated-sorted-array/
** DONE 3Sum
   https://leetcode.com/problems/3sum/
** DONE Container With Most Water
   https://leetcode.com/problems/container-with-most-water/
* Binary
** DONE Sum of Two Integers
   https://leetcode.com/problems/sum-of-two-integers/
** DONE Number of 1 Bits
   https://leetcode.com/problems/number-of-1-bits/
** TODO Counting Bits
   https://leetcode.com/problems/counting-bits/
** DONE Missing Number
   https://leetcode.com/problems/missing-number/
** TODO Reverse Bits
   https://leetcode.com/problems/reverse-bits/
* Dynamic Programming
** DONE Climbing Stairs
   https://leetcode.com/problems/climbing-stairs/
** TODO Coin Change
   https://leetcode.com/problems/coin-change/
** TODO Longest Increasing Subsequence
   https://leetcode.com/problems/longest-increasing-subsequence/
** TODO Longest Common Subsequence
** DONE Word Break Problem
   https://leetcode.com/problems/word-break/
** TODO Combination Sum
   https://leetcode.com/problems/combination-sum-iv/
** TODO House Robber
   https://leetcode.com/problems/house-robber/
** TODO House Robber II
   https://leetcode.com/problems/house-robber-ii/
** TODO Decode Ways
   https://leetcode.com/problems/decode-ways/
** TODO Unique Paths
   https://leetcode.com/problems/unique-paths/
** TODO Jump Game
   https://leetcode.com/problems/jump-game/
* Graph
** DONE Clone Graph
   https://leetcode.com/problems/clone-graph/
** DONE Course Schedule
   https://leetcode.com/problems/course-schedule/
** TODO Pacific Atlantic Water Flow
   https://leetcode.com/problems/pacific-atlantic-water-flow/
** DONE Number of Islands
   https://leetcode.com/problems/number-of-islands/
** TODO Longest Consecutive Sequence
   https://leetcode.com/problems/longest-consecutive-sequence/
** TODO Alien Dictionary (Leetcode Premium)
   https://leetcode.com/problems/alien-dictionary/
** DONE Graph Valid Tree (Leetcode Premium)
   https://leetcode.com/problems/graph-valid-tree/
** DONE Number of Connected Components in an Undirected Graph (Leetcode Premium)
   https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph/
* Interval
** TODO Insert Interval
   https://leetcode.com/problems/insert-interval/
** DONE Merge Intervals
   https://leetcode.com/problems/merge-intervals/
** TODO No Overlapping Intervals
   https://leetcode.com/problems/non-overlapping-intervals/
** DONE Meeting Rooms (Leetcode Premium)
   https://leetcode.com/problems/meeting-rooms/
** TODO Meeting Rooms II (Leetcode Premium)
   https://leetcode.com/problems/meeting-rooms-ii/
* Linked List
** DONE Reverse a Linked List
   https://leetcode.com/problems/reverse-linked-list/
** DONE Detect Cycle in a Linked List
   https://leetcode.com/problems/linked-list-cycle/
** DONE Merge Two Sorted Lists
   https://leetcode.com/problems/merge-two-sorted-lists/
** DONE Merge K Sorted Lists
   https://leetcode.com/problems/merge-k-sorted-lists/
** DONE Remove Nth Node From End Of List
   https://leetcode.com/problems/remove-nth-node-from-end-of-list/
** DONE Reorder List
   https://leetcode.com/problems/reorder-list/
* Matrix
** DONE Set Matrix Zeroes
   https://leetcode.com/problems/set-matrix-zeroes/
** DONE Spiral Matrix
   https://leetcode.com/problems/spiral-matrix/
** TODO Rotate Image
   https://leetcode.com/problems/rotate-image/
** DONE Word Search
   https://leetcode.com/problems/word-search/
* String
** TODO Longest Substring Without Repeating Characters
   https://leetcode.com/problems/longest-substring-without-repeating-characters/
** TODO Longest Repeating Character Replacement
   https://leetcode.com/problems/longest-repeating-character-replacement/
** TODO Minimum Window Substring
   https://leetcode.com/problems/minimum-window-substring/
** DONE Valid Anagram
   https://leetcode.com/problems/valid-anagram/
** DONE Group Anagrams
   https://leetcode.com/problems/group-anagrams/
** DONE Valid Parentheses
   https://leetcode.com/problems/valid-parentheses/
** DONE Valid Palindrome
   https://leetcode.com/problems/valid-palindrome/
** TODO Longest Palindromic Substring
   https://leetcode.com/problems/longest-palindromic-substring/
** TODO Palindromic Substrings
   https://leetcode.com/problems/palindromic-substrings/
** DONE Encode and Decode Strings (Leetcode Premium)
   https://leetcode.com/problems/encode-and-decode-strings/
* Tree
** DONE Maximum Depth of Binary Tree
   https://leetcode.com/problems/maximum-depth-of-binary-tree/
** DONE Same Tree
   https://leetcode.com/problems/same-tree/
** DONE Invert/Flip Binary Tree
   https://leetcode.com/problems/invert-binary-tree/
** DONE Binary Tree Maximum Path Sum
   https://leetcode.com/problems/binary-tree-maximum-path-sum/
** DONE Binary Tree Level Order Traversal
   https://leetcode.com/problems/binary-tree-level-order-traversal/
** DONE Serialize and Deserialize Binary Tree
   https://leetcode.com/problems/serialize-and-deserialize-binary-tree/
** DONE Subtree of Another Tree
   https://leetcode.com/problems/subtree-of-another-tree/
** DONE Construct Binary Tree from Preorder and Inorder Traversal
   https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
** DONE Validate Binary Search Tree
   https://leetcode.com/problems/validate-binary-search-tree/
** DONE Kth Smallest Element in a BST
   https://leetcode.com/problems/kth-smallest-element-in-a-bst/
** DONE Lowest Common Ancestor of BST
   https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/
** DONE Implement Trie (Prefix Tree)
   https://leetcode.com/problems/implement-trie-prefix-tree/
** DONE Add and Search Word
   https://leetcode.com/problems/add-and-search-word-data-structure-design/
** DONE Word Search II
   https://leetcode.com/problems/word-search-ii/
* Heap
** DONE Merge K Sorted Lists
   https://leetcode.com/problems/merge-k-sorted-lists/
** DONE Top K Frequent Elements
   https://leetcode.com/problems/top-k-frequent-elements/
** DONE Find Median from Data Stream
   https://leetcode.com/problems/find-median-from-data-stream/