-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfacebook.txt
111 lines (111 loc) · 4.31 KB
/
facebook.txt
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
1 Two Sum 35.6% Easy
10 Regular Expression Matching 24.2% Hard
13 Roman to Integer 46.4% Easy
15 3Sum 21.8% Medium
17 Letter Combinations of a Phone Number 35.1% Medium
20 Valid Parentheses 33.6% Easy
23 Merge k Sorted Lists 27.6% Hard
25 Reverse Nodes in k-Group 31.0% Hard
26 Remove Duplicates from Sorted Array 35.4% Easy
28 Implement strStr() 28.4% Easy
33 Search in Rotated Sorted Array 32.1% Medium
38 Count and Say 35.3% Easy
43 Multiply Strings 27.4% Medium
44 Wildcard Matching 20.4% Hard
49 Group Anagrams 35.9% Medium
50 Pow(x, n) 26.1% Medium
56 Merge Intervals 30.7% Medium
57 Insert Interval 28.1% Hard
67 Add Binary 32.9% Easy
68 Text Justification 19.4% Hard
69 Sqrt(x) 28.0% Easy
71 Simplify Path 25.7% Medium
75 Sort Colors 38.3% Medium
76 Minimum Window Substring 25.9% Hard
78 Subsets 41.8% Medium
79 Word Search 27.2% Medium
80 Remove Duplicates from Sorted Array II 36.3% Medium
85 Maximal Rectangle 28.5% Hard
88 Merge Sorted Array 32.1% Easy
90 Subsets II 36.8% Medium
91 Decode Ways 19.9% Medium
98 Validate Binary Search Tree 23.6% Medium
102 Binary Tree Level Order Traversal 40.5% Medium
117 Populating Next Right Pointers in Each Node II 33.8% Medium
121 Best Time to Buy and Sell Stock 41.7% Easy
125 Valid Palindrome 26.5% Easy
127 Word Ladder 19.5% Medium
128 Longest Consecutive Sequence 37.3% Hard
133 Clone Graph 25.1% Medium
139 Word Break 30.4% Medium
146 LRU Cache 18.4% Hard
157 Read N Characters Given Read4 29.0% Easy
158 Read N Characters Given Read4 II - Call multiple times 24.4% Hard
161 One Edit Distance 31.5% Medium
168 Excel Sheet Column Title 26.5% Easy
173 Binary Search Tree Iterator 42.0% Medium
200 Number of Islands 35.2% Medium
206 Reverse Linked List 45.9% Easy
208 Implement Trie (Prefix Tree) 29.0% Medium
209 Minimum Size Subarray Sum 31.2% Medium
210 Course Schedule II 28.7% Medium
211 Add and Search Word - Data structure design 23.6% Medium
215 Kth Largest Element in an Array 39.6% Medium
218 The Skyline Problem 27.8% Hard
221 Maximal Square 29.4% Medium
234 Palindrome Linked List 33.0% Easy
235 Lowest Common Ancestor of a Binary Search Tree 39.3% Easy
236 Lowest Common Ancestor of a Binary Tree 29.9% Medium
238 Product of Array Except Self 49.6% Medium
252 Meeting Rooms 48.0% Easy
253 Meeting Rooms II 39.1% Medium
257 Binary Tree Paths 39.3% Easy
261 Graph Valid Tree 38.0% Medium
265 Paint House II 38.1% Hard
269 Alien Dictionary 24.9% Hard
273 Integer to English Words 22.3% Hard
274 H-Index 33.4% Medium
275 H-Index II 34.6% Medium
277 Find the Celebrity 35.6% Medium
278 First Bad Version 25.6% Easy
282 Expression Add Operators 30.0% Hard
283 Move Zeroes 50.4% Easy
285 Inorder Successor in BST 36.2% Medium
286 Walls and Gates 44.6% Medium
297 Serialize and Deserialize Binary Tree 33.8% Hard
301 Remove Invalid Parentheses 35.3% Hard
311 Sparse Matrix Multiplication 51.3% Medium
314 Binary Tree Vertical Order Traversal 37.1% Medium
325 Maximum Size Subarray Sum Equals k 42.8% Medium
334 Increasing Triplet Subsequence 39.6% Medium
341 Flatten Nested List Iterator 42.0% Medium
377 Combination Sum IV 42.2% Medium
380 Insert Delete GetRandom O(1) 39.3% Medium
398 Random Pick Index 43.6% Medium
404 Sum of Left Leaves 47.2% Easy
410 Split Array Largest Sum 38.2% Hard
461 Hamming Distance 69.9% Easy
477 Total Hamming Distance 47.4% Medium
494 Target Sum 43.5% Medium
523 Continuous Subarray Sum 23.1% Medium
525 Contiguous Array 40.4% Medium
534 Design TinyURL 0.0% Medium
535 Encode and Decode TinyURL 74.2% Medium
543 Diameter of Binary Tree 44.4% Easy
554 Brick Wall 45.7% Medium
572 Subtree of Another Tree 40.8% Easy
578 Get Highest Answer Rate Question 28.0% Medium
597 Friend Requests I: Overall Acceptance Rate 36.0% Easy
602 Friend Requests II: Who Has the Most Friends 41.9% Medium
621 Task Scheduler 42.2% Medium
636 Exclusive Time of Functions 42.9% Medium
637 Average of Levels in Binary Tree 55.8% Easy
639 Decode Ways II 23.6% Hard
642 Design Search Autocomplete System 30.1% Hard
647 Palindromic Substrings 55.8% Medium
653 Two Sum IV - Input is a BST 50.7% Easy
670 Maximum Swap 38.3% Medium
673 Number of Longest Increasing Subsequence 31.0% Medium
674 Longest Continuous Increasing Subsequence 43.0% Easy
680 Valid Palindrome II 31.9% Easy
689 Maximum Sum of 3 Non-Overlapping Subarrays