Google - LeetCode
Google - LeetCode
Notice
We've improved our algorithm that calculates company tags and their frequencies to be more accurate
and current.
2 Add Two Numbers (/problems… Linked List (/tag/linked-list) Math (/tag/math) 33.5%
88 Merge Sorted Array (/problem… Array (/tag/array) Two Pointers (/tag/two-pointers) 39.1%
399 Evaluate Division (/problems/… Union Find (/tag/union-find) Graph (/tag/graph) 51.0%
Graph (/tag/graph)
#
50 Title n) (/problems/powx-n)
Pow(x, Tags
Math (/tag/math) Acceptance
29.6%
Binary Search (/tag/binary-search)
296 Best Meeting Point (/problem… Math (/tag/math) Sort (/tag/sort) 57.2%
Graph (/tag/graph)
208 Implement Trie (Prefix Tree) (… Design (/tag/design) Trie (/tag/trie) 48.2%
215 Kth L t El
https://leetcode.com/company/google/
ti A 54 5% 3/21
6/24/2020 Google - LeetCode
215 Kth Largest Element in an Arr… Divide and Conquer (/tag/divide-and-conquer) 54.5%
# Title Tags Acceptance
Heap (/tag/heap)
347 Top K Frequent Elements (/pr… Hash Table (/tag/hash-table) Heap (/tag/heap) 60.2%
166 Fraction to Recurring Decimal… Hash Table (/tag/hash-table) Math (/tag/math) 21.4%
String (/tag/string)
524 Longest Word in Dictionary th… Two Pointers (/tag/two-pointers) Sort (/tag/sort) 48.1%
String (/tag/string)
772 Basic Calculator III (/problem… String (/tag/string) Stack (/tag/stack) 40.9%
297 Serialize and Deserialize Bina… Tree (/tag/tree) Design (/tag/design) 46.8%
11 Container With Most Water (/… Array (/tag/array) Two Pointers (/tag/two-pointers) 50.3%
282 Expression Add Operators (/p… Divide and Conquer (/tag/divide-and-conquer) 35.3%
Backtracking (/tag/backtracking)
317 Shortest Distance from All Bui… Breadth-first Search (/tag/breadth-first-search) 41.1%
249 Group Shifted Strings (/proble… Hash Table (/tag/hash-table) String (/tag/string) 54.0%
358 Rearrange String k Distance … Hash Table (/tag/hash-table) Heap (/tag/heap) 34.6%
Greedy (/tag/greedy)
String (/tag/string)
Greedy (/tag/greedy)
Heap (/tag/heap)
307 Range Sum Query - Mutable … Binary Indexed Tree (/tag/binary-indexed-tree) 33.8%
Segment Tree (/tag/segment-tree)
803 Bricks Falling When Hit (/prob… Union Find (/tag/union-find) 30.5%
Sort (/tag/sort)
https://leetcode.com/company/google/ 6/21
6/24/2020 Google - LeetCode
Binary Indexed Tree (/tag/binary-indexed-tree)
# Title Tags Acceptance
Segment Tree (/tag/segment-tree)
Backtracking (/tag/backtracking)
42 Trapping Rain Water (/proble… Array (/tag/array) Two Pointers (/tag/two-pointers) 48.3%
Stack (/tag/stack)
659 Split Array into Consecutive S… Heap (/tag/heap) Greedy (/tag/greedy) 43.4%
26 Remove Duplicates from Sort… Array (/tag/array) Two Pointers (/tag/two-pointers) 44.7%
287 Find the Duplicate Number (/… Array (/tag/array) Two Pointers (/tag/two-pointers) 54.0%
Binary Search (/tag/binary-search)
380 Insert Delete GetRandom O(1… Array (/tag/array) Hash Table (/tag/hash-table) 47.2%
Design (/tag/design)
155 Mi St k (/
https://leetcode.com/company/google/
bl / i t k) 43 9% 7/21
6/24/2020 Google - LeetCode
155 Min Stack (/problems/min-stack) Stack (/tag/stack) Design (/tag/design) 43.9%
# Title
Tags Acceptance
359 Logger Rate Limiter (/problem… Hash Table (/tag/hash-table) Design (/tag/design) 70.0%
560 Subarray Sum Equals K (/pro… Array (/tag/array) Hash Table (/tag/hash-table) 43.8%
382 Linked List Random Node (/pr… Reservoir Sampling (/tag/reservoir-sampling) 51.8%
Graph (/tag/graph)
692 Top K Frequent Words (/probl… Hash Table (/tag/hash-table) Heap (/tag/heap) 51.1%
Trie (/tag/trie)
340 Longest Substring with At Mo… Hash Table (/tag/hash-table) String (/tag/string) 43.7%
Sliding Window (/tag/sliding-window)
#
283 Title Zeroes (/problems/mov…
Move Tags
Array (/tag/array) Two Pointers (/tag/two-pointers) Acceptance
57.6%
173 Binary Search Tree Iterator (/… Stack (/tag/stack) Tree (/tag/tree) 55.6%
Design (/tag/design)
346 Moving Average from Data St… Design (/tag/design) Queue (/tag/queue) 70.4%
Graph (/tag/graph)
242 Valid Anagram (/problems/vali… Hash Table (/tag/hash-table) Sort (/tag/sort) 56.4%
https://leetcode.com/company/google/ 9/21
6/24/2020 Google - LeetCode
# Title Tags Acceptance
122 Best Time to Buy and Sell Sto… Array (/tag/array) Greedy (/tag/greedy) 56.4%
336 Palindrome Pairs (/problems/… Hash Table (/tag/hash-table) String (/tag/string) 33.5%
Trie (/tag/trie)
259 3Sum Smaller (/problems/3su… Array (/tag/array) Two Pointers (/tag/two-pointers) 47.3%
105 Construct Binary Tree from Pr… Array (/tag/array) Tree (/tag/tree) 47.9%
Depth-first Search (/tag/depth-first-search)
295 Find Median from Data Strea… Heap (/tag/heap) Design (/tag/design) 43.4%
128 Longest Consecutive Sequen… Array (/tag/array) Union Find (/tag/union-find) 44.7%
273 Integer to English Words (/pro… Math (/tag/math) String (/tag/string) 26.7%
Backtracking (/tag/backtracking)
Memoization (/tag/memoization)
219 Contains Duplicate II (/proble… Array (/tag/array) Hash Table (/tag/hash-table) 37.4%
218 The Skyline Problem (/proble… Divide and Conquer (/tag/divide-and-conquer) 34.1%
Heap (/tag/heap)
723 Candy Crush (/problems/cand… Array (/tag/array) Two Pointers (/tag/two-pointers) 68.6%
246 Strobogrammatic Number (/pr… Hash Table (/tag/hash-table) Math (/tag/math) 44.8%
https://leetcode.com/company/google/ 11/21
6/24/2020 Google - LeetCode
#
153 Title
Find Minimum in Rotated Sort… Tags
Array (/tag/array) Acceptance
44.7%
Binary Search (/tag/binary-search)
Stack (/tag/stack)
802 Find Eventual Safe States (/p… Depth-first Search (/tag/depth-first-search) 48.4%
Graph (/tag/graph)
https://leetcode.com/company/google/ 12/21
6/24/2020 Google - LeetCode
202
# Happy
Title Number (/problems/ha… Hash Table (/tag/hash-table)
Tags Math (/tag/math) 50.1%
Acceptance
528 Random Pick with Weight (/pr… Binary Search (/tag/binary-search) 43.8%
Random (/tag/random)
209 Minimum Size Subarray Sum … Array (/tag/array) Two Pointers (/tag/two-pointers) 37.7%
Binary Search (/tag/binary-search)
188 Best Time to Buy and Sell Sto… Dynamic Programming (/tag/dynamic-programming) 27.8%
94 Binary Tree Inorder Traversal … Hash Table (/tag/hash-table) Stack (/tag/stack) 62.6%
Tree (/tag/tree)
Queue (/tag/queue)
609 Find Duplicate File in System … Hash Table (/tag/hash-table) String (/tag/string) 59.0%
417 Pacific Atlantic Water Flow (/p… Depth-first Search (/tag/depth-first-search) 40.6%
Breadth-first Search (/tag/breadth-first-search)
410 Split Array Largest Sum (/pro… Binary Search (/tag/binary-search) 44.3%
Dynamic Programming (/tag/dynamic-programming)
https://leetcode.com/company/google/ 14/21
6/24/2020 Google - LeetCode
389
# Find
Title the Difference (/problem… Hash Table (/tag/hash-table)
Tags 54.9%
Acceptance
Bit Manipulation (/tag/bit-manipulation)
759 Employee Free Time (/proble… Heap (/tag/heap) Greedy (/tag/greedy) 65.4%
314 Binary Tree Vertical Order Tra… Depth-first Search (/tag/depth-first-search) 44.6%
Breadth-first Search (/tag/breadth-first-search)
316 Remove Duplicate Letters (/pr… Stack (/tag/stack) Greedy (/tag/greedy) 35.3%
https://leetcode.com/company/google/ 15/21
6/24/2020 Google - LeetCode
894 All Possible Full Binary Trees … Tree (/tag/tree) Recursion (/tag/recursion) 74.4%
931 Minimum Falling Path Sum (/… Dynamic Programming (/tag/dynamic-programming) 62.0%
Graph (/tag/graph)
705 Design HashSet (/problems/d… Hash Table (/tag/hash-table) Design (/tag/design) 60.2%
977 Squares of a Sorted Array (/p… Array (/tag/array) Two Pointers (/tag/two-pointers) 72.3%
983 Minimum Cost For Tickets (/p… Dynamic Programming (/tag/dynamic-programming) 59.8%
https://leetcode.com/company/google/ 17/21
6/24/2020 Google - LeetCode
Graph (/tag/graph)
987 Vertical Order Traversal of a … Hash Table (/tag/hash-table) Tree (/tag/tree) 35.1%
1146 S h tA
https://leetcode.com/company/google/
(/ bl / 36 9% 18/21
6/24/2020 Google - LeetCode
1146 Snapshot Array (/problems/sn… Array (/tag/array) 36.9%
# Title Tags Acceptance
267 Palindrome Permutation II (/p… Backtracking (/tag/backtracking) 36.1%
1155 Number of Dice Rolls With Ta… Dynamic Programming (/tag/dynamic-programming) 49.2%
1240 Tiling a Rectangle with the Fe… Dynamic Programming (/tag/dynamic-programming) 49.4%
Backtracking (/tag/backtracking)
1296 Divide Array in Sets of K Con… Array (/tag/array) Greedy (/tag/greedy) 52.5%
https://leetcode.com/company/google/ 19/21
6/24/2020 Google - LeetCode
1352 Product of the Last K Number… Array (/tag/array) Design (/tag/design) 42.6%
# Title Tags Acceptance
1366 Rank Teams by Votes (/probl… Array (/tag/array) Sort (/tag/sort) 50.7%
https://leetcode.com/company/google/ 20/21
6/24/2020 Google - LeetCode
Dynamic Programming (/tag/dynamic-programming)
# Title Tags Acceptance
Sort (/tag/sort)
https://leetcode.com/company/google/ 21/21