0% found this document useful (0 votes)
3 views

Google - LeetCode

Uploaded by

Sumanto Pal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Google - LeetCode

Uploaded by

Sumanto Pal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 47

8/11/2020 Google - LeetCode

 Google

Notice
We've improved our algorithm that calculates company tags and their frequencies to be more accurate
and current.

This page updates weekly on Saturday.

You can filter the results by different time periods.

You have solved 345 / 865 problems.

Show problem tags Select time period: All time

# Title Acceptance Difficulty Frequency 

388 Longest Absolute File Path (/problems/longest- 41.8% Medium


absolute-file-path)

683 K Empty Slots (/problems/k-empty-slots)  35.6% Hard

681 Next Closest Time (/problems/next-closest-time) 45.0% Medium


 929 Unique Email Addresses (/problems/unique-email- 67.4% Easy


addresses)

 1 Two Sum (/problems/two-sum)  45.6% Easy

 904 Fruit Into Baskets (/problems/fruit-into-baskets) 42.5% Medium

482 License Key Formatting (/problems/license-key- 43.1% Easy


formatting)

308 Range Sum Query 2D - Mutable 35.6% Hard


(/problems/range-sum-query-2d-mutable) 

1007 Minimum Domino Rotations For Equal Row 50.0% Medium


(/problems/minimum-domino-rotations-for-equal-
row)

843 Guess the Word (/problems/guess-the-word) 46.1% Hard

288 Unique Word Abbreviation (/problems/unique- 21.9% Medium


word-abbreviation) 

 399 Evaluate Division (/problems/evaluate-division) 51.6% Medium

https://leetcode.com/company/google/ 1/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

489 Robot Room Cleaner (/problems/robot-room- 69.7% Hard


cleaner) 

975 Odd Even Jump (/problems/odd-even-jump) 42.2% Hard

 686 Repeated String Match (/problems/repeated- 32.3% Easy


string-match)

418 Sentence Screen Fitting (/problems/sentence- 32.6% Medium


screen-fitting) 

753 Cracking the Safe (/problems/cracking-the-safe) 50.5% Hard

361 Bomb Enemy (/problems/bomb-enemy)  46.0% Medium

271 Encode and Decode Strings (/problems/encode- 31.5% Medium


and-decode-strings) 

298 Binary Tree Longest Consecutive Sequence 47.1% Medium


(/problems/binary-tree-longest-consecutive-
sequence) 

281 Zigzag Iterator (/problems/zigzag-iterator)  58.4% Medium

393 UTF-8 Validation (/problems/utf-8-validation) 37.5% Medium

1057 Campus Bikes (/problems/campus-bikes)  57.7% Medium

163 Missing Ranges (/problems/missing-ranges)  24.3% Medium

 159 Longest Substring with At Most Two Distinct 49.4% Medium


Characters (/problems/longest-substring-with-at-
most-two-distinct-characters) 

 844 Backspace String Compare 46.4% Easy


(/problems/backspace-string-compare)

642 Design Search Autocomplete System 44.7% Hard


(/problems/design-search-autocomplete-system)

 340 Longest Substring with At Most K Distinct 44.1% Hard


Characters (/problems/longest-substring-with-at-
most-k-distinct-characters) 

 222 Count Complete Tree Nodes (/problems/count- 46.7% Medium


complete-tree-nodes)

568 Maximum Vacation Days (/problems/maximum- 40.8% Hard


vacation-days) 

https://leetcode.com/company/google/ 2/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

947 Most Stones Removed with Same Row or Column 55.2% Medium
(/problems/most-stones-removed-with-same-row-
or-column)

410 Split Array Largest Sum (/problems/split-array- 44.5% Hard


largest-sum)

857 Minimum Cost to Hire K Workers 49.6% Hard


(/problems/minimum-cost-to-hire-k-workers)

939 Minimum Area Rectangle (/problems/minimum- 51.8% Medium


area-rectangle)

42 Trapping Rain Water (/problems/trapping-rain- 48.9% Hard


water)

218 The Skyline Problem (/problems/the-skyline- 34.6% Hard


problem)

248 Strobogrammatic Number III 39.6% Hard


(/problems/strobogrammatic-number-iii) 

 56 Merge Intervals (/problems/merge-intervals)  39.3% Medium

394 Decode String (/problems/decode-string) 50.0% Medium

 200 Number of Islands (/problems/number-of-islands) 46.8% Medium

296 Best Meeting Point (/problems/best-meeting- 57.5% Hard


point) 

346 Moving Average from Data Stream 70.9% Easy


(/problems/moving-average-from-data-stream)

351 Android Unlock Patterns (/problems/android- 48.4% Medium


unlock-patterns) 

774 Minimize Max Distance to Gas Station 46.9% Hard


(/problems/minimize-max-distance-to-gas-station)

 66 Plus One (/problems/plus-one) 43.0% Easy

 146 LRU Cache (/problems/lru-cache) 33.2% Medium

734 Sentence Similarity (/problems/sentence- 42.1% Easy


similarity) 

425 Word Squares (/problems/word-squares)  47.6% Hard

359 Logger Rate Limiter (/problems/logger-rate-limiter) 70.8% Easy


https://leetcode.com/company/google/ 3/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

471 Encode String with Shortest Length 47.1% Hard


(/problems/encode-string-with-shortest-length)

809 Expressive Words (/problems/expressive-words) 47.1% Medium

737 Sentence Similarity II (/problems/sentence- 45.8% Medium


similarity-ii) 

679 24 Game (/problems/24-game) 46.4% Hard

 299 Bulls and Cows (/problems/bulls-and-cows) 42.4% Easy

228 Summary Ranges (/problems/summary-ranges) 39.5% Medium

305 Number of Islands II (/problems/number-of- 40.1% Hard


islands-ii) 

1096 Brace Expansion II (/problems/brace-expansion-ii) 62.2% Hard

149 Max Points on a Line (/problems/max-points-on-a- 16.9% Hard


line)

 2 Add Two Numbers (/problems/add-two-numbers) 33.9% Medium

253 Meeting Rooms II (/problems/meeting-rooms-ii) 45.7% Medium


1055 Shortest Way to Form String (/problems/shortest- 56.9% Medium


way-to-form-string) 

158 Read N Characters Given Read4 II - Call multiple 33.8% Hard


times (/problems/read-n-characters-given-read4-ii-
call-multiple-times) 

465 Optimal Account Balancing (/problems/optimal- 46.9% Hard


account-balancing) 

68 Text Justification (/problems/text-justification) 27.7% Hard

4 Median of Two Sorted Arrays (/problems/median- 29.6% Hard


of-two-sorted-arrays)

803 Bricks Falling When Hit (/problems/bricks-falling- 30.8% Hard


when-hit)

289 Game of Life (/problems/game-of-life) 54.5% Medium

 1110 Delete Nodes And Return Forest 67.0% Medium


(/problems/delete-nodes-and-return-forest)

https://leetcode.com/company/google/ 4/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

1153 String Transforms Into Another String 35.8% Hard


(/problems/string-transforms-into-another-string)

833 Find And Replace in String (/problems/find-and- 50.4% Medium


replace-in-string)

317 Shortest Distance from All Buildings 41.4% Hard


(/problems/shortest-distance-from-all-buildings)

1088 Confusing Number II (/problems/confusing- 44.0% Hard


number-ii) 

750 Number Of Corner Rectangles 66.4% Medium


(/problems/number-of-corner-rectangles) 

247 Strobogrammatic Number II 47.6% Medium


(/problems/strobogrammatic-number-ii) 

315 Count of Smaller Numbers After Self 41.5% Hard


(/problems/count-of-smaller-numbers-after-self)

1231 Divide Chocolate (/problems/divide-chocolate) 52.4% Hard


246 Strobogrammatic Number 45.0% Easy


(/problems/strobogrammatic-number) 

304 Range Sum Query 2D - Immutable 38.6% Medium


(/problems/range-sum-query-2d-immutable) 

818 Race Car (/problems/race-car) 39.0% Hard

562 Longest Line of Consecutive One in Matrix 45.8% Medium


(/problems/longest-line-of-consecutive-one-in-
matrix) 

777 Swap Adjacent in LR String (/problems/swap- 34.8% Medium


adjacent-in-lr-string)

360 Sort Transformed Array (/problems/sort- 48.8% Medium


transformed-array) 

1168 Optimize Water Distribution in a Village 60.9% Hard


(/problems/optimize-water-distribution-in-a-village)

10 Regular Expression Matching (/problems/regular- 26.8% Hard


expression-matching)

280 Wiggle Sort (/problems/wiggle-sort)  63.8% Medium

https://leetcode.com/company/google/ 5/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

524 Longest Word in Dictionary through Deleting 48.4% Medium


(/problems/longest-word-in-dictionary-through-
deleting)

417 Pacific Atlantic Water Flow (/problems/pacific- 41.1% Medium


atlantic-water-flow)

 23 Merge k Sorted Lists (/problems/merge-k-sorted- 40.2% Hard


lists)

329 Longest Increasing Path in a Matrix 43.4% Hard


(/problems/longest-increasing-path-in-a-matrix)

1087 Brace Expansion (/problems/brace-expansion) 62.7% Medium


284 Peeking Iterator (/problems/peeking-iterator) 45.7% Medium

 57 Insert Interval (/problems/insert-interval) 33.5% Hard

736 Parse Lisp Expression (/problems/parse-lisp- 47.5% Hard


expression)

259 3Sum Smaller (/problems/3sum-smaller)  47.6% Medium

 205 Isomorphic Strings (/problems/isomorphic-strings) 39.8% Easy

85 Maximal Rectangle (/problems/maximal-rectangle) 37.7% Hard

544 Output Contest Matches (/problems/output- 75.3% Medium


contest-matches) 

727 Minimum Window Subsequence 41.8% Hard


(/problems/minimum-window-subsequence) 

527 Word Abbreviation (/problems/word-abbreviation) 54.3% Hard


274 H-Index (/problems/h-index) 35.9% Medium

 3 Longest Substring Without Repeating Characters 30.4% Medium


(/problems/longest-substring-without-repeating-
characters)

 279 Perfect Squares (/problems/perfect-squares)  47.4% Medium

 731 My Calendar II (/problems/my-calendar-ii) 49.1% Medium

 766 Toeplitz Matrix (/problems/toeplitz-matrix) 65.1% Easy

157 Read N Characters Given Read4 (/problems/read- 34.2% Easy


n-characters-given-read4) 

https://leetcode.com/company/google/ 6/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

294 Flip Game II (/problems/flip-game-ii)  50.0% Medium

 345 Reverse Vowels of a String (/problems/reverse- 44.2% Easy


vowels-of-a-string)

1146 Snapshot Array (/problems/snapshot-array) 37.0% Medium

295 Find Median from Data Stream (/problems/find- 44.3% Hard


median-from-data-stream)

846 Hand of Straights (/problems/hand-of-straights) 54.2% Medium

913 Cat and Mouse (/problems/cat-and-mouse) 31.3% Hard

552 Student Attendance Record II (/problems/student- 36.7% Hard


attendance-record-ii)

1066 Campus Bikes II (/problems/campus-bikes-ii)  54.2% Medium

76 Minimum Window Substring (/problems/minimum- 34.6% Hard


window-substring)

363 Max Sum of Rectangle No Larger Than K 37.3% Hard


(/problems/max-sum-of-rectangle-no-larger-than-
k)

 849 Maximize Distance to Closest Person 42.6% Easy


(/problems/maximize-distance-to-closest-person)

54 Spiral Matrix (/problems/spiral-matrix) 34.1% Medium

 15 3Sum (/problems/3sum) 26.8% Medium

 221 Maximal Square (/problems/maximal-square)  37.7% Medium

 17 Letter Combinations of a Phone Number 46.8% Medium


(/problems/letter-combinations-of-a-phone-
number)

616 Add Bold Tag in String (/problems/add-bold-tag-in- 43.1% Medium


string) 

 297 Serialize and Deserialize Binary Tree 47.5% Hard


(/problems/serialize-and-deserialize-binary-tree)

 981 Time Based Key-Value Store (/problems/time- 53.1% Medium


based-key-value-store)

276 Paint Fence (/problems/paint-fence)  38.3% Easy

837 New 21 Game (/problems/new-21-game) 34.6% Medium

224 Basic Calculator (/problems/basic-calculator) 36.8% Hard

https://leetcode.com/company/google/ 7/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 687 Longest Univalue Path (/problems/longest- 36.2% Easy


univalue-path)

911 Online Election (/problems/online-election) 50.4% Medium

362 Design Hit Counter (/problems/design-hit-counter) 63.7% Medium


490 The Maze (/problems/the-maze)  51.4% Medium

 528 Random Pick with Weight (/problems/random- 43.9% Medium


pick-with-weight)

558 Logical OR of Two Binary Grids Represented as 44.6% Medium


Quad-Trees (/problems/logical-or-of-two-binary-
grids-represented-as-quad-trees)

715 Range Module (/problems/range-module) 38.5% Hard

659 Split Array into Consecutive Subsequences 43.7% Medium


(/problems/split-array-into-consecutive-
subsequences)

 380 Insert Delete GetRandom O(1) (/problems/insert- 47.5% Medium


delete-getrandom-o1)

 139 Word Break (/problems/word-break) 40.1% Medium

166 Fraction to Recurring Decimal (/problems/fraction- 21.6% Medium


to-recurring-decimal)

135 Candy (/problems/candy) 31.6% Hard

403 Frog Jump (/problems/frog-jump) 39.7% Hard

 406 Queue Reconstruction by Height 66.9% Medium


(/problems/queue-reconstruction-by-height)

 20 Valid Parentheses (/problems/valid-parentheses) 39.0% Easy

 226 Invert Binary Tree (/problems/invert-binary-tree) 65.0% Easy

505 The Maze II (/problems/the-maze-ii)  47.7% Medium

457 Circular Array Loop (/problems/circular-array-loop) 29.4% Medium

723 Candy Crush (/problems/candy-crush)  69.2% Medium

900 RLE Iterator (/problems/rle-iterator) 53.5% Medium

375 Guess Number Higher or Lower II 40.3% Medium


(/problems/guess-number-higher-or-lower-ii)

https://leetcode.com/company/google/ 8/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

269 Alien Dictionary (/problems/alien-dictionary)  33.3% Hard

722 Remove Comments (/problems/remove- 34.6% Medium


comments)

 128 Longest Consecutive Sequence 45.1% Hard


(/problems/longest-consecutive-sequence)

31 Next Permutation (/problems/next-permutation) 32.6% Medium

 5 Longest Palindromic Substring 29.5% Medium


(/problems/longest-palindromic-substring) 

353 Design Snake Game (/problems/design-snake- 34.2% Medium


game) 

1170 Compare Strings by Frequency of the Smallest 58.7% Easy


Character (/problems/compare-strings-by-
frequency-of-the-smallest-character)

318 Maximum Product of Word Lengths 51.2% Medium


(/problems/maximum-product-of-word-lengths)

391 Perfect Rectangle (/problems/perfect-rectangle) 30.5% Hard

850 Rectangle Area II (/problems/rectangle-area-ii) 47.5% Hard

249 Group Shifted Strings (/problems/group-shifted- 55.1% Medium


strings) 

 729 My Calendar I (/problems/my-calendar-i) 51.8% Medium

341 Flatten Nested List Iterator (/problems/flatten- 52.9% Medium


nested-list-iterator)

 951 Flip Equivalent Binary Trees (/problems/flip- 65.8% Medium


equivalent-binary-trees)

 72 Edit Distance (/problems/edit-distance)  44.8% Hard

320 Generalized Abbreviation (/problems/generalized- 52.1% Medium


abbreviation) 

 332 Reconstruct Itinerary (/problems/reconstruct- 36.7% Medium


itinerary)

 835 Image Overlap (/problems/image-overlap) 58.5% Medium

401 Binary Watch (/problems/binary-watch) 47.5% Easy

354 Russian Doll Envelopes (/problems/russian-doll- 35.6% Hard


envelopes) 

https://leetcode.com/company/google/ 9/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 124 Binary Tree Maximum Path Sum 34.3% Hard


(/problems/binary-tree-maximum-path-sum)

 239 Sliding Window Maximum (/problems/sliding- 43.0% Hard


window-maximum)

444 Sequence Reconstruction (/problems/sequence- 22.2% Medium


reconstruction) 

745 Prefix and Suffix Search (/problems/prefix-and- 34.1% Hard


suffix-search)

43 Multiply Strings (/problems/multiply-strings) 33.9% Medium

285 Inorder Successor in BST (/problems/inorder- 40.4% Medium


successor-in-bst) 

400 Nth Digit (/problems/nth-digit) 31.7% Medium

943 Find the Shortest Superstring (/problems/find-the- 42.9% Hard


shortest-superstring)

 208 Implement Trie (Prefix Tree) 49.4% Medium


(/problems/implement-trie-prefix-tree)

963 Minimum Area Rectangle II (/problems/minimum- 50.9% Medium


area-rectangle-ii)

788 Rotated Digits (/problems/rotated-digits) 57.1% Easy

369 Plus One Linked List (/problems/plus-one-linked- 58.2% Medium


list) 

 162 Find Peak Element (/problems/find-peak-element) 43.3% Medium

484 Find Permutation (/problems/find-permutation) 60.5% Medium


 38 Count and Say (/problems/count-and-say) 44.6% Easy

 133 Clone Graph (/problems/clone-graph) 34.8% Medium

 34 Find First and Last Position of Element in Sorted 36.2% Medium


Array (/problems/find-first-and-last-position-of-
element-in-sorted-array)

447 Number of Boomerangs (/problems/number-of- 51.8% Easy


boomerangs)

336 Palindrome Pairs (/problems/palindrome-pairs) 33.7% Hard

 91 Decode Ways (/problems/decode-ways)  24.7% Medium

https://leetcode.com/company/google/ 10/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 127 Word Ladder (/problems/word-ladder) 29.6% Medium

 215 Kth Largest Element in an Array (/problems/kth- 55.3% Medium


largest-element-in-an-array)

 946 Validate Stack Sequences (/problems/validate- 61.8% Medium


stack-sequences)

459 Repeated Substring Pattern (/problems/repeated- 42.2% Easy


substring-pattern)

 33 Search in Rotated Sorted Array 34.5% Medium


(/problems/search-in-rotated-sorted-array)

 11 Container With Most Water (/problems/container- 50.8% Medium


with-most-water)

293 Flip Game (/problems/flip-game)  60.7% Easy

497 Random Point in Non-overlapping Rectangles 37.8% Medium


(/problems/random-point-in-non-overlapping-
rectangles)

334 Increasing Triplet Subsequence 40.0% Medium


(/problems/increasing-triplet-subsequence)

1032 Stream of Characters (/problems/stream-of- 48.3% Hard


characters)

325 Maximum Size Subarray Sum Equals k 46.8% Medium


(/problems/maximum-size-subarray-sum-equals-
k) 

44 Wildcard Matching (/problems/wildcard-matching) 24.7% Hard

 817 Linked List Components (/problems/linked-list- 57.2% Medium


components)

286 Walls and Gates (/problems/walls-and-gates)  54.5% Medium

815 Bus Routes (/problems/bus-routes) 42.6% Hard

138 Copy List with Random Pointer (/problems/copy- 36.4% Medium


list-with-random-pointer) 

 1048 Longest String Chain (/problems/longest-string- 54.7% Medium


chain) 

772 Basic Calculator III (/problems/basic-calculator-iii) 41.3% Hard


 173 Binary Search Tree Iterator (/problems/binary- 56.6% Medium


search-tree-iterator)

https://leetcode.com/company/google/ 11/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

150 Evaluate Reverse Polish Notation 36.3% Medium


(/problems/evaluate-reverse-polish-notation)

 53 Maximum Subarray (/problems/maximum- 46.5% Easy


subarray)

871 Minimum Number of Refueling Stops 31.4% Hard


(/problems/minimum-number-of-refueling-stops)

 130 Surrounded Regions (/problems/surrounded- 28.1% Medium


regions)

685 Redundant Connection II (/problems/redundant- 32.5% Hard


connection-ii)

 752 Open the Lock (/problems/open-the-lock) 51.8% Medium

 743 Network Delay Time (/problems/network-delay- 44.9% Medium


time)

 155 Min Stack (/problems/min-stack) 44.5% Easy

800 Similar RGB Color (/problems/similar-rgb-color) 61.4% Easy


1240 Tiling a Rectangle with the Fewest Squares 50.1% Hard


(/problems/tiling-a-rectangle-with-the-fewest-
squares)

529 Minesweeper (/problems/minesweeper) 59.1% Medium

 168 Excel Sheet Column Title (/problems/excel-sheet- 31.1% Easy


column-title)

407 Trapping Rain Water II (/problems/trapping-rain- 42.4% Hard


water-ii)

161 One Edit Distance (/problems/one-edit-distance) 32.3% Medium


41 First Missing Positive (/problems/first-missing- 32.0% Hard


positive)

411 Minimum Unique Word Abbreviation 36.3% Hard


(/problems/minimum-unique-word-abbreviation)

 801 Minimum Swaps To Make Sequences Increasing 38.9% Medium


(/problems/minimum-swaps-to-make-sequences-
increasing)

427 Construct Quad Tree (/problems/construct-quad- 61.4% Medium


tree)

https://leetcode.com/company/google/ 12/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

428 Serialize and Deserialize N-ary Tree 59.4% Hard


(/problems/serialize-and-deserialize-n-ary-tree)

 307 Range Sum Query - Mutable (/problems/range- 34.6% Medium


sum-query-mutable)

498 Diagonal Traverse (/problems/diagonal-traverse) 48.2% Medium

37 Sudoku Solver (/problems/sudoku-solver) 43.6% Hard

324 Wiggle Sort II (/problems/wiggle-sort-ii) 29.9% Medium

853 Car Fleet (/problems/car-fleet) 42.3% Medium

 475 Heaters (/problems/heaters) 33.1% Easy

591 Tag Validator (/problems/tag-validator) 34.3% Hard

 22 Generate Parentheses (/problems/generate- 62.7% Medium


parentheses) 

486 Predict the Winner (/problems/predict-the-winner) 47.9% Medium


708 Insert into a Sorted Circular Linked List 31.6% Medium


(/problems/insert-into-a-sorted-circular-linked-list)

1197 Minimum Knight Moves (/problems/minimum- 36.1% Medium


knight-moves) 

855 Exam Room (/problems/exam-room) 43.1% Medium

 463 Island Perimeter (/problems/island-perimeter) 65.7% Easy

 212 Word Search II (/problems/word-search-ii) 34.9% Hard

370 Range Addition (/problems/range-addition)  62.8% Medium

 684 Redundant Connection (/problems/redundant- 57.3% Medium


connection)

250 Count Univalue Subtrees (/problems/count- 52.0% Medium


univalue-subtrees) 

337 House Robber III (/problems/house-robber-iii) 50.6% Medium

1145 Binary Tree Coloring Game (/problems/binary- 51.3% Medium


tree-coloring-game)

241 Different Ways to Add Parentheses 55.2% Medium


(/problems/different-ways-to-add-parentheses)

https://leetcode.com/company/google/ 13/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

266 Palindrome Permutation (/problems/palindrome- 61.9% Easy


permutation) 

 392 Is Subsequence (/problems/is-subsequence) 49.2% Easy

710 Random Pick with Blacklist (/problems/random- 32.5% Hard


pick-with-blacklist)

 792 Number of Matching Subsequences 47.4% Medium


(/problems/number-of-matching-subsequences)

769 Max Chunks To Make Sorted (/problems/max- 54.8% Medium


chunks-to-make-sorted)

 767 Reorganize String (/problems/reorganize-string) 48.7% Medium


302 Smallest Rectangle Enclosing Black Pixels 51.6% Hard


(/problems/smallest-rectangle-enclosing-black-
pixels) 

510 Inorder Successor in BST II (/problems/inorder- 58.0% Medium


successor-in-bst-ii) 

358 Rearrange String k Distance Apart 34.9% Hard


(/problems/rearrange-string-k-distance-apart) 

84 Largest Rectangle in Histogram 35.2% Hard


(/problems/largest-rectangle-in-histogram)

 171 Excel Sheet Column Number (/problems/excel- 55.7% Easy


sheet-column-number)

 48 Rotate Image (/problems/rotate-image) 56.7% Medium

845 Longest Mountain in Array (/problems/longest- 37.2% Medium


mountain-in-array)

229 Majority Element II (/problems/majority-element-ii) 35.6% Medium

776 Split BST (/problems/split-bst)  55.8% Medium

 62 Unique Paths (/problems/unique-paths) 54.1% Medium

 1438 Longest Continuous Subarray With Absolute Diff 42.0% Medium


Less Than or Equal to Limit (/problems/longest-
continuous-subarray-with-absolute-diff-less-than-
or-equal-to-limit)

115 Distinct Subsequences (/problems/distinct- 38.3% Hard


subsequences) 

https://leetcode.com/company/google/ 14/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 852 Peak Index in a Mountain Array (/problems/peak- 71.6% Easy


index-in-a-mountain-array)

499 The Maze III (/problems/the-maze-iii)  41.0% Hard

 121 Best Time to Buy and Sell Stock (/problems/best- 50.5% Easy
time-to-buy-and-sell-stock) 

 55 Jump Game (/problems/jump-game) 34.6% Medium

 49 Group Anagrams (/problems/group-anagrams) 56.9% Medium

935 Knight Dialer (/problems/knight-dialer) 45.2% Medium

1074 Number of Submatrices That Sum to Target 60.4% Hard


(/problems/number-of-submatrices-that-sum-to-
target)

 1011 Capacity To Ship Packages Within D Days 58.1% Medium


(/problems/capacity-to-ship-packages-within-d-
days)

 21 Merge Two Sorted Lists (/problems/merge-two- 53.5% Easy


sorted-lists) 

126 Word Ladder II (/problems/word-ladder-ii) 22.1% Hard

549 Binary Tree Longest Consecutive Sequence II 47.0% Medium


(/problems/binary-tree-longest-consecutive-
sequence-ii) 

840 Magic Squares In Grid (/problems/magic-squares- 37.3% Easy


in-grid)

379 Design Phone Directory (/problems/design-phone- 46.8% Medium


directory) 

187 Repeated DNA Sequences (/problems/repeated- 38.9% Medium


dna-sequences)

36 Valid Sudoku (/problems/valid-sudoku) 48.7% Medium

1376 Time Needed to Inform All Employees 55.4% Medium


(/problems/time-needed-to-inform-all-employees)

 198 House Robber (/problems/house-robber) 42.0% Easy

460 LFU Cache (/problems/lfu-cache) 34.2% Hard

635 Design Log Storage System (/problems/design- 58.6% Medium


log-storage-system) 

 206 Reverse Linked List (/problems/reverse-linked-list) 62.5% Easy

https://leetcode.com/company/google/ 15/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 240 Search a 2D Matrix II (/problems/search-a-2d- 43.2% Medium


matrix-ii) 

 894 All Possible Full Binary Trees (/problems/all- 75.2% Medium


possible-full-binary-trees)

676 Implement Magic Dictionary 54.5% Medium


(/problems/implement-magic-dictionary)

469 Convex Polygon (/problems/convex-polygon)  37.0% Medium

277 Find the Celebrity (/problems/find-the-celebrity) 41.8% Medium


 236 Lowest Common Ancestor of a Binary Tree 45.7% Medium


(/problems/lowest-common-ancestor-of-a-binary-
tree)

373 Find K Pairs with Smallest Sums (/problems/find- 36.7% Medium


k-pairs-with-smallest-sums)

 389 Find the Difference (/problems/find-the-difference) 55.3% Easy

 8 String to Integer (atoi) (/problems/string-to-integer- 15.4% Medium


atoi)

134 Gas Station (/problems/gas-station) 38.5% Medium

 540 Single Element in a Sorted Array 57.9% Medium


(/problems/single-element-in-a-sorted-array)

1056 Confusing Number (/problems/confusing-number) 48.6% Easy


65 Valid Number (/problems/valid-number) 15.3% Hard

604 Design Compressed String Iterator 37.5% Easy


(/problems/design-compressed-string-iterator) 

 64 Minimum Path Sum (/problems/minimum-path- 54.5% Medium


sum) 

 63 Unique Paths II (/problems/unique-paths-ii)  34.6% Medium

1293 Shortest Path in a Grid with Obstacles Elimination 42.8% Hard


(/problems/shortest-path-in-a-grid-with-obstacles-
elimination)

 287 Find the Duplicate Number (/problems/find-the- 55.5% Medium


duplicate-number)

 238 Product of Array Except Self (/problems/product- 60.1% Medium


of-array-except-self)

https://leetcode.com/company/google/ 16/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

327 Count of Range Sum (/problems/count-of-range- 35.1% Hard


sum)

 283 Move Zeroes (/problems/move-zeroes) 57.8% Easy

582 Kill Process (/problems/kill-process)  60.8% Medium

760 Find Anagram Mappings (/problems/find- 81.1% Easy


anagram-mappings) 

282 Expression Add Operators (/problems/expression- 35.5% Hard


add-operators)

 1423 Maximum Points You Can Obtain from Cards 42.6% Medium
(/problems/maximum-points-you-can-obtain-from-
cards)

251 Flatten 2D Vector (/problems/flatten-2d-vector) 45.7% Medium


688 Knight Probability in Chessboard 48.9% Medium


(/problems/knight-probability-in-chessboard) 

1547 Minimum Cost to Cut a Stick (/problems/minimum- 47.1% Hard


cost-to-cut-a-stick)

 300 Longest Increasing Subsequence 42.6% Medium


(/problems/longest-increasing-subsequence) 

 543 Diameter of Binary Tree (/problems/diameter-of- 48.4% Easy


binary-tree)

 419 Battleships in a Board (/problems/battleships-in-a- 70.0% Medium


board)

 46 Permutations (/problems/permutations) 63.5% Medium

 117 Populating Next Right Pointers in Each Node II 39.1% Medium


(/problems/populating-next-right-pointers-in-each-
node-ii)

 169 Majority Element (/problems/majority-element) 58.7% Easy

773 Sliding Puzzle (/problems/sliding-puzzle) 59.3% Hard

 69 Sqrt(x) (/problems/sqrtx) 33.9% Easy

381 Insert Delete GetRandom O(1) - Duplicates 34.1% Hard


allowed (/problems/insert-delete-getrandom-o1-
duplicates-allowed)

https://leetcode.com/company/google/ 17/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

702 Search in a Sorted Array of Unknown Size 66.9% Medium


(/problems/search-in-a-sorted-array-of-unknown-
size) 

652 Find Duplicate Subtrees (/problems/find-duplicate- 50.2% Medium


subtrees)

 695 Max Area of Island (/problems/max-area-of- 62.7% Medium


island)

 137 Single Number II (/problems/single-number-ii) 52.4% Medium

 97 Interleaving String (/problems/interleaving-string) 31.5% Hard

 14 Longest Common Prefix (/problems/longest- 35.4% Easy


common-prefix)

 322 Coin Change (/problems/coin-change)  35.5% Medium

316 Remove Duplicate Letters (/problems/remove- 35.8% Hard


duplicate-letters)

214 Shortest Palindrome (/problems/shortest- 29.8% Hard


palindrome)

 96 Unique Binary Search Trees (/problems/unique- 52.9% Medium


binary-search-trees)

 188 Best Time to Buy and Sell Stock IV 28.0% Hard


(/problems/best-time-to-buy-and-sell-stock-iv) 

 230 Kth Smallest Element in a BST (/problems/kth- 60.2% Medium


smallest-element-in-a-bst)

 807 Max Increase to Keep City Skyline 83.7% Medium


(/problems/max-increase-to-keep-city-skyline)

 889 Construct Binary Tree from Preorder and 66.1% Medium


Postorder Traversal (/problems/construct-binary-
tree-from-preorder-and-postorder-traversal)

98 Validate Binary Search Tree (/problems/validate- 27.8% Medium


binary-search-tree)

365 Water and Jug Problem (/problems/water-and-jug- 30.6% Medium


problem)

261 Graph Valid Tree (/problems/graph-valid-tree)  42.2% Medium

 242 Valid Anagram (/problems/valid-anagram) 56.9% Easy

535 Encode and Decode TinyURL (/problems/encode- 79.9% Medium


and-decode-tinyurl)

https://leetcode.com/company/google/ 18/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

356 Line Reflection (/problems/line-reflection)  31.8% Medium

920 Number of Music Playlists (/problems/number-of- 46.5% Hard


music-playlists)

 50 Pow(x, n) (/problems/powx-n) 30.3% Medium

32 Longest Valid Parentheses (/problems/longest- 28.4% Hard


valid-parentheses)

 560 Subarray Sum Equals K (/problems/subarray- 43.9% Medium


sum-equals-k)

660 Remove 9 (/problems/remove-9)  53.3% Hard

 986 Interval List Intersections (/problems/interval-list- 67.3% Medium


intersections)

 7 Reverse Integer (/problems/reverse-integer) 25.8% Easy

 310 Minimum Height Trees (/problems/minimum- 32.3% Medium


height-trees)

 116 Populating Next Right Pointers in Each Node 45.2% Medium


(/problems/populating-next-right-pointers-in-each-
node)

 110 Balanced Binary Tree (/problems/balanced- 43.5% Easy


binary-tree)

 152 Maximum Product Subarray 31.7% Medium


(/problems/maximum-product-subarray)

636 Exclusive Time of Functions (/problems/exclusive- 52.0% Medium


time-of-functions)

 207 Course Schedule (/problems/course-schedule) 43.1% Medium

1320 Minimum Distance to Type a Word Using Two 62.3% Hard


Fingers (/problems/minimum-distance-to-type-a-
word-using-two-fingers)

 973 K Closest Points to Origin (/problems/k-closest- 63.8% Medium


points-to-origin) 

382 Linked List Random Node (/problems/linked-list- 52.1% Medium


random-node)

 378 Kth Smallest Element in a Sorted Matrix 54.3% Medium


(/problems/kth-smallest-element-in-a-sorted-
matrix)

1406 Stone Game III (/problems/stone-game-iii) 56.1% Hard

https://leetcode.com/company/google/ 19/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 108 Convert Sorted Array to Binary Search Tree 57.9% Easy


(/problems/convert-sorted-array-to-binary-search-
tree)

 518 Coin Change 2 (/problems/coin-change-2)  50.2% Medium

 209 Minimum Size Subarray Sum 38.2% Medium


(/problems/minimum-size-subarray-sum)

 593 Valid Square (/problems/valid-square) 43.1% Medium

132 Palindrome Partitioning II (/problems/palindrome- 30.2% Hard


partitioning-ii) 

165 Compare Version Numbers (/problems/compare- 27.4% Medium


version-numbers)

 890 Find and Replace Pattern (/problems/find-and- 73.4% Medium


replace-pattern)

273 Integer to English Words (/problems/integer-to- 27.1% Hard


english-words)

156 Binary Tree Upside Down (/problems/binary-tree- 55.0% Medium


upside-down) 

 932 Beautiful Array (/problems/beautiful-array) 58.3% Medium

384 Shuffle an Array (/problems/shuffle-an-array) 52.8% Medium

254 Factor Combinations (/problems/factor- 46.7% Medium


combinations) 

 140 Word Break II (/problems/word-break-ii) 32.6% Hard

551 Student Attendance Record I (/problems/student- 46.0% Easy


attendance-record-i)

 609 Find Duplicate File in System (/problems/find- 59.5% Medium


duplicate-file-in-system)

480 Sliding Window Median (/problems/sliding- 37.2% Hard


window-median)

770 Basic Calculator IV (/problems/basic-calculator-iv) 48.1% Hard

1292 Maximum Side Length of a Square with Sum Less 48.5% Medium
than or Equal to Threshold (/problems/maximum-
side-length-of-a-square-with-sum-less-than-or-
equal-to-threshold)

220 Contains Duplicate III (/problems/contains- 20.9% Medium


duplicate-iii)

https://leetcode.com/company/google/ 20/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

422 Valid Word Square (/problems/valid-word-square) 37.7% Easy


 202 Happy Number (/problems/happy-number) 50.4% Easy

348 Design Tic-Tac-Toe (/problems/design-tic-tac-toe) 54.3% Medium


 836 Rectangle Overlap (/problems/rectangle-overlap) 48.6% Easy

12 Integer to Roman (/problems/integer-to-roman) 55.1% Medium

 105 Construct Binary Tree from Preorder and Inorder 48.8% Medium
Traversal (/problems/construct-binary-tree-from-
preorder-and-inorder-traversal)

 721 Accounts Merge (/problems/accounts-merge) 48.7% Medium

335 Self Crossing (/problems/self-crossing) 28.0% Hard

227 Basic Calculator II (/problems/basic-calculator-ii) 36.9% Medium

167 Two Sum II - Input array is sorted (/problems/two- 54.1% Easy


sum-ii-input-array-is-sorted) 

 1352 Product of the Last K Numbers 43.6% Medium


(/problems/product-of-the-last-k-numbers)

 120 Triangle (/problems/triangle)  44.2% Medium

 347 Top K Frequent Elements (/problems/top-k- 61.2% Medium


frequent-elements) 

 94 Binary Tree Inorder Traversal (/problems/binary- 63.3% Medium


tree-inorder-traversal)

 412 Fizz Buzz (/problems/fizz-buzz) 62.3% Easy

213 House Robber II (/problems/house-robber-ii) 36.5% Medium

 235 Lowest Common Ancestor of a Binary Search 49.9% Easy


Tree (/problems/lowest-common-ancestor-of-a-
binary-search-tree)

 270 Closest Binary Search Tree Value 48.5% Easy


(/problems/closest-binary-search-tree-value) 

1121 Divide Array Into Increasing Sequences 56.9% Hard


(/problems/divide-array-into-increasing-
sequences) 

 415 Add Strings (/problems/add-strings) 47.5% Easy

https://leetcode.com/company/google/ 21/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

311 Sparse Matrix Multiplication (/problems/sparse- 61.9% Medium


matrix-multiplication) 

 25 Reverse Nodes in k-Group (/problems/reverse- 42.1% Hard


nodes-in-k-group)

 79 Word Search (/problems/word-search) 35.6% Medium

1000 Minimum Cost to Merge Stones 39.7% Hard


(/problems/minimum-cost-to-merge-stones)

 739 Daily Temperatures (/problems/daily- 63.3% Medium


temperatures)

252 Meeting Rooms (/problems/meeting-rooms)  54.6% Easy

99 Recover Binary Search Tree (/problems/recover- 39.7% Hard


binary-search-tree)

408 Valid Word Abbreviation (/problems/valid-word- 30.6% Easy


abbreviation) 

1284 Minimum Number of Flips to Convert Binary 69.5% Hard


Matrix to Zero Matrix (/problems/minimum-
number-of-flips-to-convert-binary-matrix-to-zero-
matrix)

640 Solve the Equation (/problems/solve-the-equation) 42.0% Medium

1024 Video Stitching (/problems/video-stitching) 49.2% Medium

 1219 Path with Maximum Gold (/problems/path-with- 65.1% Medium


maximum-gold)

692 Top K Frequent Words (/problems/top-k-frequent- 51.8% Medium


words) 

1036 Escape a Large Maze (/problems/escape-a-large- 35.4% Hard


maze)

 732 My Calendar III (/problems/my-calendar-iii) 60.0% Hard

 724 Find Pivot Index (/problems/find-pivot-index) 44.0% Easy

398 Random Pick Index (/problems/random-pick- 56.0% Medium


index)

914 X of a Kind in a Deck of Cards (/problems/x-of-a- 35.1% Easy


kind-in-a-deck-of-cards)

148 Sort List (/problems/sort-list) 42.3% Medium

 118 Pascal's Triangle (/problems/pascals-triangle) 52.5% Easy

https://leetcode.com/company/google/ 22/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 104 Maximum Depth of Binary Tree 66.0% Easy


(/problems/maximum-depth-of-binary-tree)

 303 Range Sum Query - Immutable (/problems/range- 44.7% Easy


sum-query-immutable)

395 Longest Substring with At Least K Repeating 41.4% Medium


Characters (/problems/longest-substring-with-at-
least-k-repeating-characters)

 1296 Divide Array in Sets of K Consecutive Numbers 53.8% Medium


(/problems/divide-array-in-sets-of-k-consecutive-
numbers)

658 Find K Closest Elements (/problems/find-k- 40.9% Medium


closest-elements)

 802 Find Eventual Safe States (/problems/find- 48.9% Medium


eventual-safe-states)

 1277 Count Square Submatrices with All Ones 73.3% Medium


(/problems/count-square-submatrices-with-all-
ones)

 231 Power of Two (/problems/power-of-two) 43.7% Easy

 268 Missing Number (/problems/missing-number) 51.7% Easy

 13 Roman to Integer (/problems/roman-to-integer) 55.7% Easy

909 Snakes and Ladders (/problems/snakes-and- 38.4% Medium


ladders)

632 Smallest Range Covering Elements from K Lists 52.4% Hard


(/problems/smallest-range-covering-elements-
from-k-lists)

45 Jump Game II (/problems/jump-game-ii) 30.6% Hard

 343 Integer Break (/problems/integer-break) 50.4% Medium

 887 Super Egg Drop (/problems/super-egg-drop) 27.1% Hard

421 Maximum XOR of Two Numbers in an Array 53.5% Medium


(/problems/maximum-xor-of-two-numbers-in-an-
array)

 344 Reverse String (/problems/reverse-string) 68.5% Easy

941 Valid Mountain Array (/problems/valid-mountain- 33.3% Easy


array)

https://leetcode.com/company/google/ 23/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 979 Distribute Coins in Binary Tree 68.9% Medium


(/problems/distribute-coins-in-binary-tree)

432 All O`one Data Structure (/problems/all-oone- 32.4% Hard


data-structure)

 153 Find Minimum in Rotated Sorted Array 45.1% Medium


(/problems/find-minimum-in-rotated-sorted-array)

312 Burst Balloons (/problems/burst-balloons)  51.7% Hard

 210 Course Schedule II (/problems/course-schedule-ii) 40.7% Medium

1125 Smallest Sufficient Team (/problems/smallest- 46.6% Hard


sufficient-team)

 70 Climbing Stairs (/problems/climbing-stairs) 47.8% Easy

30 Substring with Concatenation of All Words 25.4% Hard


(/problems/substring-with-concatenation-of-all-
words)

109 Convert Sorted List to Binary Search Tree 47.7% Medium


(/problems/convert-sorted-list-to-binary-search-
tree)

450 Delete Node in a BST (/problems/delete-node-in- 43.1% Medium


a-bst)

265 Paint House II (/problems/paint-house-ii)  44.6% Hard

 211 Add and Search Word - Data structure design 38.1% Medium
(/problems/add-and-search-word-data-structure-
design)

 771 Jewels and Stones (/problems/jewels-and-stones) 86.3% Easy

1444 Number of Ways of Cutting a Pizza 52.7% Hard


(/problems/number-of-ways-of-cutting-a-pizza)

742 Closest Leaf in a Binary Tree (/problems/closest- 43.6% Medium


leaf-in-a-binary-tree) 

 804 Unique Morse Code Words (/problems/unique- 77.0% Easy


morse-code-words)

424 Longest Repeating Character Replacement 47.0% Medium


(/problems/longest-repeating-character-
replacement)

759 Employee Free Time (/problems/employee-free- 66.2% Hard


time) 

https://leetcode.com/company/google/ 24/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

333 Largest BST Subtree (/problems/largest-bst- 35.8% Medium


subtree) 

 102 Binary Tree Level Order Traversal 54.5% Medium


(/problems/binary-tree-level-order-traversal)

 16 3Sum Closest (/problems/3sum-closest) 46.0% Medium

1326 Minimum Number of Taps to Open to Water a 43.5% Hard


Garden (/problems/minimum-number-of-taps-to-
open-to-water-a-garden)

 9 Palindrome Number (/problems/palindrome- 48.4% Easy


number)

 75 Sort Colors (/problems/sort-colors) 47.3% Medium

18 4Sum (/problems/4sum) 33.7% Medium

 1477 Find Two Non-overlapping Sub-arrays Each With 29.9% Medium


Target Sum (/problems/find-two-non-overlapping-
sub-arrays-each-with-target-sum)

630 Course Schedule III (/problems/course-schedule- 33.5% Hard


iii)

1368 Minimum Cost to Make at Least One Valid Path in 54.3% Hard
a Grid (/problems/minimum-cost-to-make-at-least-
one-valid-path-in-a-grid)

 1031 Maximum Sum of Two Non-Overlapping 57.9% Medium


Subarrays (/problems/maximum-sum-of-two-non-
overlapping-subarrays)

968 Binary Tree Cameras (/problems/binary-tree- 37.5% Hard


cameras)

748 Shortest Completing Word (/problems/shortest- 56.7% Easy


completing-word)

143 Reorder List (/problems/reorder-list) 37.0% Medium

 1023 Camelcase Matching (/problems/camelcase- 57.0% Medium


matching)

 101 Symmetric Tree (/problems/symmetric-tree) 46.8% Easy

 219 Contains Duplicate II (/problems/contains- 37.7% Easy


duplicate-ii)

1265 Print Immutable Linked List in Reverse 94.6% Medium


(/problems/print-immutable-linked-list-in-reverse)

https://leetcode.com/company/google/ 25/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 191 Number of 1 Bits (/problems/number-of-1-bits) 49.8% Easy

1165 Single-Row Keyboard (/problems/single-row- 84.8% Easy


keyboard) 

830 Positions of Large Groups (/problems/positions- 49.6% Easy


of-large-groups)

1136 Parallel Courses (/problems/parallel-courses)  61.1% Hard

587 Erect the Fence (/problems/erect-the-fence) 35.8% Hard

 720 Longest Word in Dictionary (/problems/longest- 48.2% Easy


word-in-dictionary)

 174 Dungeon Game (/problems/dungeon-game)  32.3% Hard

794 Valid Tic-Tac-Toe State (/problems/valid-tic-tac- 32.6% Medium


toe-state)

243 Shortest Word Distance (/problems/shortest-word- 61.0% Easy


distance) 

 647 Palindromic Substrings (/problems/palindromic- 60.6% Medium


substrings) 

 278 First Bad Version (/problems/first-bad-version) 35.7% Easy

 160 Intersection of Two Linked Lists 40.6% Easy


(/problems/intersection-of-two-linked-lists)

864 Shortest Path to Get All Keys (/problems/shortest- 40.1% Hard


path-to-get-all-keys)

1312 Minimum Insertion Steps to Make a String 58.1% Hard


Palindrome (/problems/minimum-insertion-steps-
to-make-a-string-palindrome)

 29 Divide Two Integers (/problems/divide-two- 16.4% Medium


integers)

799 Champagne Tower (/problems/champagne-tower) 35.8% Medium

449 Serialize and Deserialize BST 52.0% Medium


(/problems/serialize-and-deserialize-bst)

433 Minimum Genetic Mutation (/problems/minimum- 41.8% Medium


genetic-mutation)

 438 Find All Anagrams in a String (/problems/find-all- 43.3% Medium


anagrams-in-a-string)

785 Is Graph Bipartite? (/problems/is-graph-bipartite) 47.5% Medium

https://leetcode.com/company/google/ 26/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 349 Intersection of Two Arrays (/problems/intersection- 62.5% Easy


of-two-arrays)

 430 Flatten a Multilevel Doubly Linked List 55.1% Medium


(/problems/flatten-a-multilevel-doubly-linked-list)

854 K-Similar Strings (/problems/k-similar-strings) 38.2% Hard

 443 String Compression (/problems/string- 41.3% Easy


compression)

 416 Partition Equal Subset Sum (/problems/partition- 43.7% Medium


equal-subset-sum) 

 841 Keys and Rooms (/problems/keys-and-rooms) 64.3% Medium

 1140 Stone Game II (/problems/stone-game-ii) 63.3% Medium

862 Shortest Subarray with Sum at Least K 24.6% Hard


(/problems/shortest-subarray-with-sum-at-least-k)

195 Tenth Line (/problems/tenth-line) 33.0% Easy

 175 Combine Two Tables (/problems/combine-two- 60.8% Easy


tables)

 409 Longest Palindrome (/problems/longest- 50.3% Easy


palindrome)

464 Can I Win (/problems/can-i-win) 28.8% Medium

933 Number of Recent Calls (/problems/number-of- 71.9% Easy


recent-calls)

 572 Subtree of Another Tree (/problems/subtree-of- 44.1% Easy


another-tree) 

81 Search in Rotated Sorted Array II 33.0% Medium


(/problems/search-in-rotated-sorted-array-ii)

806 Number of Lines To Write String 64.9% Easy


(/problems/number-of-lines-to-write-string)

452 Minimum Number of Arrows to Burst Balloons 49.6% Medium


(/problems/minimum-number-of-arrows-to-burst-
balloons)

 136 Single Number (/problems/single-number) 65.5% Easy

 60 Permutation Sequence (/problems/permutation- 38.4% Hard


sequence)

https://leetcode.com/company/google/ 27/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

805 Split Array With Same Average (/problems/split- 26.4% Hard


array-with-same-average)

 733 Flood Fill (/problems/flood-fill) 55.3% Easy

440 K-th Smallest in Lexicographical Order 29.1% Hard


(/problems/k-th-smallest-in-lexicographical-order)

982 Triples with Bitwise AND Equal To Zero 55.6% Hard


(/problems/triples-with-bitwise-and-equal-to-zero)

301 Remove Invalid Parentheses (/problems/remove- 43.3% Hard


invalid-parentheses)

895 Maximum Frequency Stack (/problems/maximum- 60.6% Hard


frequency-stack)

493 Reverse Pairs (/problems/reverse-pairs) 25.2% Hard

51 N-Queens (/problems/n-queens) 46.6% Hard

321 Create Maximum Number (/problems/create- 27.0% Hard


maximum-number)

39 Combination Sum (/problems/combination-sum) 56.1% Medium

778 Swim in Rising Water (/problems/swim-in-rising- 53.1% Hard


water)

267 Palindrome Permutation II (/problems/palindrome- 36.4% Medium


permutation-ii) 

59 Spiral Matrix II (/problems/spiral-matrix-ii)  53.9% Medium

694 Number of Distinct Islands (/problems/number-of- 56.0% Medium


distinct-islands) 

 122 Best Time to Buy and Sell Stock II 56.9% Easy


(/problems/best-time-to-buy-and-sell-stock-ii) 

542 01 Matrix (/problems/01-matrix)  39.8% Medium

 387 First Unique Character in a String (/problems/first- 53.4% Easy


unique-character-in-a-string)

 374 Guess Number Higher or Lower 43.1% Easy


(/problems/guess-number-higher-or-lower)

386 Lexicographical Numbers 51.6% Medium


(/problems/lexicographical-numbers)

 232 Implement Queue using Stacks 49.6% Easy


(/problems/implement-queue-using-stacks)

https://leetcode.com/company/google/ 28/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

531 Lonely Pixel I (/problems/lonely-pixel-i)  59.0% Medium

1060 Missing Element in Sorted Array 54.5% Medium


(/problems/missing-element-in-sorted-array) 

77 Combinations (/problems/combinations) 54.7% Medium

 977 Squares of a Sorted Array (/problems/squares-of- 72.1% Easy


a-sorted-array)

 690 Employee Importance (/problems/employee- 57.3% Easy


importance)

352 Data Stream as Disjoint Intervals (/problems/data- 47.3% Hard


stream-as-disjoint-intervals)

456 132 Pattern (/problems/132-pattern) 28.9% Medium

 26 Remove Duplicates from Sorted Array 45.1% Easy


(/problems/remove-duplicates-from-sorted-array)

1131 Maximum of Absolute Value Expression 53.0% Medium


(/problems/maximum-of-absolute-value-
expression)

1157 Online Majority Element In Subarray 39.0% Hard


(/problems/online-majority-element-in-subarray)

420 Strong Password Checker (/problems/strong- 14.0% Hard


password-checker)

 787 Cheapest Flights Within K Stops 39.3% Medium


(/problems/cheapest-flights-within-k-stops)

 290 Word Pattern (/problems/word-pattern) 37.0% Easy

385 Mini Parser (/problems/mini-parser) 33.8% Medium

 1047 Remove All Adjacent Duplicates In String 68.6% Easy


(/problems/remove-all-adjacent-duplicates-in-
string)

958 Check Completeness of a Binary Tree 52.1% Medium


(/problems/check-completeness-of-a-binary-tree)

1244 Design A Leaderboard (/problems/design-a- 60.7% Medium


leaderboard) 

716 Max Stack (/problems/max-stack)  42.6% Easy

698 Partition to K Equal Sum Subsets 45.0% Medium


(/problems/partition-to-k-equal-sum-subsets) 

https://leetcode.com/company/google/ 29/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 125 Valid Palindrome (/problems/valid-palindrome) 36.7% Easy

19 Remove Nth Node From End of List 35.2% Medium


(/problems/remove-nth-node-from-end-of-list)

 950 Reveal Cards In Increasing Order 74.6% Medium


(/problems/reveal-cards-in-increasing-order)

926 Flip String to Monotone Increasing (/problems/flip- 52.3% Medium


string-to-monotone-increasing)

741 Cherry Pickup (/problems/cherry-pickup) 33.9% Hard

1091 Shortest Path in Binary Matrix 38.2% Medium


(/problems/shortest-path-in-binary-matrix)

366 Find Leaves of Binary Tree (/problems/find- 70.6% Medium


leaves-of-binary-tree) 

719 Find K-th Smallest Pair Distance (/problems/find- 31.5% Hard


k-th-smallest-pair-distance)

 6 ZigZag Conversion (/problems/zigzag-conversion) 36.3% Medium

 442 Find All Duplicates in an Array (/problems/find-all- 67.8% Medium


duplicates-in-an-array)

435 Non-overlapping Intervals (/problems/non- 42.9% Medium


overlapping-intervals)

 1504 Count Submatrices With All Ones 61.7% Medium


(/problems/count-submatrices-with-all-ones)

790 Domino and Tromino Tiling (/problems/domino- 39.2% Medium


and-tromino-tiling)

1188 Design Bounded Blocking Queue 70.5% Medium


(/problems/design-bounded-blocking-queue) 

 350 Intersection of Two Arrays II 51.4% Easy


(/problems/intersection-of-two-arrays-ii)

 216 Combination Sum III (/problems/combination-sum- 56.6% Medium


iii)

 141 Linked List Cycle (/problems/linked-list-cycle) 41.1% Easy

834 Sum of Distances in Tree (/problems/sum-of- 43.7% Hard


distances-in-tree)

924 Minimize Malware Spread (/problems/minimize- 42.0% Hard


malware-spread)

https://leetcode.com/company/google/ 30/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 24 Swap Nodes in Pairs (/problems/swap-nodes-in- 50.4% Medium


pairs)

1463 Cherry Pickup II (/problems/cherry-pickup-ii) 65.7% Hard

445 Add Two Numbers II (/problems/add-two- 54.5% Medium


numbers-ii)

504 Base 7 (/problems/base-7) 46.2% Easy

 28 Implement strStr() (/problems/implement-strstr) 34.5% Easy

 1345 Jump Game IV (/problems/jump-game-iv) 38.1% Hard

1223 Dice Roll Simulation (/problems/dice-roll- 45.6% Medium


simulation)

689 Maximum Sum of 3 Non-Overlapping Subarrays 46.3% Hard


(/problems/maximum-sum-of-3-non-overlapping-
subarrays)

859 Buddy Strings (/problems/buddy-strings) 27.4% Easy

726 Number of Atoms (/problems/number-of-atoms) 49.0% Hard

483 Smallest Good Base (/problems/smallest-good- 35.7% Hard


base)

 662 Maximum Width of Binary Tree 41.0% Medium


(/problems/maximum-width-of-binary-tree)

 451 Sort Characters By Frequency (/problems/sort- 63.0% Medium


characters-by-frequency)

 821 Shortest Distance to a Character 66.9% Easy


(/problems/shortest-distance-to-a-character)

960 Delete Columns to Make Sorted III 53.6% Hard


(/problems/delete-columns-to-make-sorted-iii)

426 Convert Binary Search Tree to Sorted Doubly 59.1% Medium


Linked List (/problems/convert-binary-search-tree-
to-sorted-doubly-linked-list) 

323 Number of Connected Components in an 56.0% Medium


Undirected Graph (/problems/number-of-
connected-components-in-an-undirected-graph)

 448 Find All Numbers Disappeared in an Array 55.9% Easy


(/problems/find-all-numbers-disappeared-in-an-
array)

https://leetcode.com/company/google/ 31/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

1062 Longest Repeating Substring (/problems/longest- 57.2% Medium


repeating-substring) 

 368 Largest Divisible Subset (/problems/largest- 38.0% Medium


divisible-subset) 

272 Closest Binary Search Tree Value II 50.5% Hard


(/problems/closest-binary-search-tree-value-ii)

 237 Delete Node in a Linked List (/problems/delete- 63.8% Easy


node-in-a-linked-list)

 119 Pascal's Triangle II (/problems/pascals-triangle-ii) 49.0% Easy

 706 Design HashMap (/problems/design-hashmap) 61.3% Easy

 987 Vertical Order Traversal of a Binary Tree 36.6% Medium


(/problems/vertical-order-traversal-of-a-binary-
tree)

 113 Path Sum II (/problems/path-sum-ii) 46.7% Medium

 703 Kth Largest Element in a Stream (/problems/kth- 49.7% Easy


largest-element-in-a-stream)

564 Find the Closest Palindrome (/problems/find-the- 19.7% Hard


closest-palindrome)

131 Palindrome Partitioning (/problems/palindrome- 47.5% Medium


partitioning)

 204 Count Primes (/problems/count-primes) 31.5% Easy

 78 Subsets (/problems/subsets) 62.0% Medium

1229 Meeting Scheduler (/problems/meeting-scheduler) 52.7% Medium


 992 Subarrays with K Different Integers 48.6% Hard


(/problems/subarrays-with-k-different-integers)

74 Search a 2D Matrix (/problems/search-a-2d- 36.5% Medium


matrix)

1021 Remove Outermost Parentheses 78.0% Easy


(/problems/remove-outermost-parentheses)

 88 Merge Sorted Array (/problems/merge-sorted- 39.4% Easy


array)

https://leetcode.com/company/google/ 32/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

758 Bold Words in String (/problems/bold-words-in- 46.0% Easy


string) 

 328 Odd Even Linked List (/problems/odd-even-linked- 55.7% Medium


list)

82 Remove Duplicates from Sorted List II 36.8% Medium


(/problems/remove-duplicates-from-sorted-list-ii)

730 Count Different Palindromic Subsequences 41.8% Hard


(/problems/count-different-palindromic-
subsequences)

1206 Design Skiplist (/problems/design-skiplist) 57.4% Hard

 525 Contiguous Array (/problems/contiguous-array) 42.8% Medium

1237 Find Positive Integer Solution for a Given 69.7% Easy


Equation (/problems/find-positive-integer-solution-
for-a-given-equation)

1203 Sort Items by Groups Respecting Dependencies 47.6% Hard


(/problems/sort-items-by-groups-respecting-
dependencies)

949 Largest Time for Given Digits (/problems/largest- 35.8% Easy


time-for-given-digits)

765 Couples Holding Hands (/problems/couples- 54.3% Hard


holding-hands)

886 Possible Bipartition (/problems/possible- 44.2% Medium


bipartition)

1155 Number of Dice Rolls With Target Sum 49.0% Medium


(/problems/number-of-dice-rolls-with-target-sum)

 567 Permutation in String (/problems/permutation-in- 44.4% Medium


string)

 35 Search Insert Position (/problems/search-insert- 42.6% Easy


position)

764 Largest Plus Sign (/problems/largest-plus-sign) 46.0% Medium

 621 Task Scheduler (/problems/task-scheduler) 50.1% Medium

1114 Print in Order (/problems/print-in-order) 65.7% Easy

371 Sum of Two Integers (/problems/sum-of-two- 50.7% Medium


integers)

https://leetcode.com/company/google/ 33/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 530 Minimum Absolute Difference in BST 53.8% Easy


(/problems/minimum-absolute-difference-in-bst)

980 Unique Paths III (/problems/unique-paths-iii) 73.3% Hard

622 Design Circular Queue (/problems/design-circular- 43.8% Medium


queue)

185 Department Top Three Salaries 34.5% Hard


(/problems/department-top-three-salaries)

 501 Find Mode in Binary Search Tree (/problems/find- 42.4% Easy


mode-in-binary-search-tree)

 402 Remove K Digits (/problems/remove-k-digits) 28.4% Medium

87 Scramble String (/problems/scramble-string) 33.7% Hard

 176 Second Highest Salary (/problems/second- 31.6% Easy


highest-salary)

 496 Next Greater Element I (/problems/next-greater- 63.8% Easy


element-i)

665 Non-decreasing Array (/problems/non-decreasing- 19.5% Easy


array)

747 Largest Number At Least Twice of Others 42.0% Easy


(/problems/largest-number-at-least-twice-of-
others)

397 Integer Replacement (/problems/integer- 32.9% Medium


replacement)

925 Long Pressed Name (/problems/long-pressed- 40.5% Easy


name)

 129 Sum Root to Leaf Numbers (/problems/sum-root- 49.0% Medium


to-leaf-numbers)

377 Combination Sum IV (/problems/combination- 45.3% Medium


sum-iv) 

 1044 Longest Duplicate Substring (/problems/longest- 31.9% Hard


duplicate-substring)

313 Super Ugly Number (/problems/super-ugly- 45.0% Medium


number)

 931 Minimum Falling Path Sum (/problems/minimum- 62.5% Medium


falling-path-sum) 

192 Word Frequency (/problems/word-frequency) 25.8% Medium

https://leetcode.com/company/google/ 34/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 942 DI String Match (/problems/di-string-match) 72.6% Easy

 832 Flipping an Image (/problems/flipping-an-image) 76.2% Easy

 503 Next Greater Element II (/problems/next-greater- 56.5% Medium


element-ii)

1138 Alphabet Board Path (/problems/alphabet-board- 48.4% Medium


path)

 190 Reverse Bits (/problems/reverse-bits) 39.8% Easy

952 Largest Component Size by Common Factor 30.3% Hard


(/problems/largest-component-size-by-common-
factor)

875 Koko Eating Bananas (/problems/koko-eating- 52.1% Medium


bananas)

 145 Binary Tree Postorder Traversal 55.0% Hard


(/problems/binary-tree-postorder-traversal)

 1254 Number of Closed Islands (/problems/number-of- 60.4% Medium


closed-islands)

 179 Largest Number (/problems/largest-number) 28.8% Medium

839 Similar String Groups (/problems/similar-string- 38.6% Hard


groups)

1095 Find in Mountain Array (/problems/find-in- 35.8% Hard


mountain-array)

 234 Palindrome Linked List (/problems/palindrome- 39.3% Easy


linked-list)

 714 Best Time to Buy and Sell Stock with Transaction 54.7% Medium
Fee (/problems/best-time-to-buy-and-sell-stock-
with-transaction-fee) 

827 Making A Large Island (/problems/making-a-large- 45.7% Hard


island)

477 Total Hamming Distance (/problems/total- 50.4% Medium


hamming-distance)

1286 Iterator for Combination (/problems/iterator-for- 68.1% Medium


combination)

 705 Design HashSet (/problems/design-hashset) 64.3% Easy

 791 Custom Sort String (/problems/custom-sort-string) 65.7% Medium

https://leetcode.com/company/google/ 35/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 1209 Remove All Adjacent Duplicates in String II 56.9% Medium


(/problems/remove-all-adjacent-duplicates-in-
string-ii)

 1161 Maximum Level Sum of a Binary Tree 72.2% Medium


(/problems/maximum-level-sum-of-a-binary-tree)

 114 Flatten Binary Tree to Linked List 49.3% Medium


(/problems/flatten-binary-tree-to-linked-list)

 100 Same Tree (/problems/same-tree) 53.4% Easy

863 All Nodes Distance K in Binary Tree 55.4% Medium


(/problems/all-nodes-distance-k-in-binary-tree)

 678 Valid Parenthesis String (/problems/valid- 31.0% Medium


parenthesis-string)

768 Max Chunks To Make Sorted II (/problems/max- 48.7% Hard


chunks-to-make-sorted-ii)

 1466 Reorder Routes to Make All Paths Lead to the 63.5% Medium
City Zero (/problems/reorder-routes-to-make-all-
paths-lead-to-the-city-zero)

 27 Remove Element (/problems/remove-element) 48.2% Easy

 547 Friend Circles (/problems/friend-circles) 58.6% Medium

 83 Remove Duplicates from Sorted List 45.4% Easy


(/problems/remove-duplicates-from-sorted-list)

 309 Best Time to Buy and Sell Stock with Cooldown 47.4% Medium
(/problems/best-time-to-buy-and-sell-stock-with-
cooldown) 

331 Verify Preorder Serialization of a Binary Tree 40.4% Medium


(/problems/verify-preorder-serialization-of-a-
binary-tree)

 144 Binary Tree Preorder Traversal (/problems/binary- 55.7% Medium


tree-preorder-traversal)

 1143 Longest Common Subsequence 58.4% Medium


(/problems/longest-common-subsequence) 

330 Patching Array (/problems/patching-array) 34.5% Hard

940 Distinct Subsequences II (/problems/distinct- 41.5% Hard


subsequences-ii)

 151 Reverse Words in a String (/problems/reverse- 21.9% Medium


words-in-a-string)

https://leetcode.com/company/google/ 36/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 404 Sum of Left Leaves (/problems/sum-of-left-leaves) 50.9% Easy

965 Univalued Binary Tree (/problems/univalued- 67.7% Easy


binary-tree)

 1366 Rank Teams by Votes (/problems/rank-teams-by- 53.8% Medium


votes)

639 Decode Ways II (/problems/decode-ways-ii) 26.6% Hard

326 Power of Three (/problems/power-of-three) 42.1% Easy

 414 Third Maximum Number (/problems/third- 30.5% Easy


maximum-number)

314 Binary Tree Vertical Order Traversal 45.3% Medium


(/problems/binary-tree-vertical-order-traversal)

713 Subarray Product Less Than K 39.1% Medium


(/problems/subarray-product-less-than-k)

1483 Kth Ancestor of a Tree Node (/problems/kth- 27.6% Hard


ancestor-of-a-tree-node)

 181 Employees Earning More Than Their Managers 56.9% Easy


(/problems/employees-earning-more-than-their-
managers)

1102 Path With Maximum Minimum Value 49.2% Medium


(/problems/path-with-maximum-minimum-value)

 67 Add Binary (/problems/add-binary) 45.2% Easy

936 Stamping The Sequence (/problems/stamping- 42.8% Hard


the-sequence)

554 Brick Wall (/problems/brick-wall) 50.0% Medium

 1029 Two City Scheduling (/problems/two-city- 56.1% Easy


scheduling)

934 Shortest Bridge (/problems/shortest-bridge) 48.2% Medium

668 Kth Smallest Number in Multiplication Table 45.6% Hard


(/problems/kth-smallest-number-in-multiplication-
table)

 199 Binary Tree Right Side View (/problems/binary- 54.1% Medium


tree-right-side-view)

 938 Range Sum of BST (/problems/range-sum-of-bst) 81.3% Easy

https://leetcode.com/company/google/ 37/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 123 Best Time to Buy and Sell Stock III 37.5% Hard
(/problems/best-time-to-buy-and-sell-stock-iii) 

 1025 Divisor Game (/problems/divisor-game) 66.3% Easy

80 Remove Duplicates from Sorted Array II 44.0% Medium


(/problems/remove-duplicates-from-sorted-array-
ii)

1218 Longest Arithmetic Subsequence of Given 44.6% Medium


Difference (/problems/longest-arithmetic-
subsequence-of-given-difference) 

177 Nth Highest Salary (/problems/nth-highest-salary) 31.4% Medium

 92 Reverse Linked List II (/problems/reverse-linked- 38.8% Medium


list-ii)

 1123 Lowest Common Ancestor of Deepest Leaves 66.8% Medium


(/problems/lowest-common-ancestor-of-deepest-
leaves)

1122 Relative Sort Array (/problems/relative-sort-array) 67.7% Easy

812 Largest Triangle Area (/problems/largest-triangle- 58.3% Easy


area)

487 Max Consecutive Ones II (/problems/max- 48.5% Medium


consecutive-ones-ii) 

 669 Trim a Binary Search Tree (/problems/trim-a- 63.0% Easy


binary-search-tree)

948 Bag of Tokens (/problems/bag-of-tokens) 40.8% Medium

 674 Longest Continuous Increasing Subsequence 45.9% Easy


(/problems/longest-continuous-increasing-
subsequence)

40 Combination Sum II (/problems/combination-sum- 48.2% Medium


ii)

780 Reaching Points (/problems/reaching-points) 29.4% Hard

467 Unique Substrings in Wraparound String 35.6% Medium


(/problems/unique-substrings-in-wraparound-
string)

 1447 Simplified Fractions (/problems/simplified- 61.0% Medium


fractions)

 872 Leaf-Similar Trees (/problems/leaf-similar-trees) 64.5% Easy

https://leetcode.com/company/google/ 38/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 142 Linked List Cycle II (/problems/linked-list-cycle-ii) 37.3% Medium

717 1-bit and 2-bit Characters (/problems/1-bit-and-2- 48.8% Easy


bit-characters)

 559 Maximum Depth of N-ary Tree 68.7% Easy


(/problems/maximum-depth-of-n-ary-tree)

 983 Minimum Cost For Tickets (/problems/minimum- 60.5% Medium


cost-for-tickets) 

881 Boats to Save People (/problems/boats-to-save- 46.8% Medium


people)

735 Asteroid Collision (/problems/asteroid-collision) 41.0% Medium

583 Delete Operation for Two Strings 48.6% Medium


(/problems/delete-operation-for-two-strings)

 701 Insert into a Binary Search Tree (/problems/insert- 77.7% Medium


into-a-binary-search-tree)

 257 Binary Tree Paths (/problems/binary-tree-paths) 51.4% Easy

 367 Valid Perfect Square (/problems/valid-perfect- 41.7% Easy


square)

474 Ones and Zeroes (/problems/ones-and-zeroes) 42.8% Medium

 1108 Defanging an IP Address (/problems/defanging- 87.5% Easy


an-ip-address)

682 Baseball Game (/problems/baseball-game) 63.7% Easy

1245 Tree Diameter (/problems/tree-diameter)  60.1% Medium

 103 Binary Tree Zigzag Level Order Traversal 48.3% Medium


(/problems/binary-tree-zigzag-level-order-
traversal)

1192 Critical Connections in a Network 48.6% Hard


(/problems/critical-connections-in-a-network) 

 581 Shortest Unsorted Continuous Subarray 31.1% Easy


(/problems/shortest-unsorted-continuous-
subarray)

 203 Remove Linked List Elements (/problems/remove- 38.6% Easy


linked-list-elements)

 1325 Delete Leaves With a Given Value 73.0% Medium


(/problems/delete-leaves-with-a-given-value)

https://leetcode.com/company/google/ 39/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

989 Add to Array-Form of Integer (/problems/add-to- 44.2% Easy


array-form-of-integer)

523 Continuous Subarray Sum (/problems/continuous- 24.6% Medium


subarray-sum)

 1300 Sum of Mutated Array Closest to Target 44.2% Medium


(/problems/sum-of-mutated-array-closest-to-
target)

 657 Robot Return to Origin (/problems/robot-return-to- 73.5% Easy


origin)

494 Target Sum (/problems/target-sum)  46.3% Medium

 1027 Longest Arithmetic Sequence (/problems/longest- 53.4% Medium


arithmetic-sequence) 

 997 Find the Town Judge (/problems/find-the-town- 50.1% Easy


judge)

 154 Find Minimum in Rotated Sorted Array II 41.6% Hard


(/problems/find-minimum-in-rotated-sorted-array-
ii)

 1105 Filling Bookcase Shelves (/problems/filling- 58.1% Medium


bookcase-shelves)

 485 Max Consecutive Ones (/problems/max- 54.6% Easy


consecutive-ones)

472 Concatenated Words (/problems/concatenated- 43.7% Hard


words)

811 Subdomain Visit Count (/problems/subdomain- 69.9% Easy


visit-count)

 905 Sort Array By Parity (/problems/sort-array-by- 74.0% Easy


parity)

 1233 Remove Sub-Folders from the Filesystem 59.5% Medium


(/problems/remove-sub-folders-from-the-
filesystem)

 1424 Diagonal Traverse II (/problems/diagonal- 42.4% Medium


traverse-ii)

 1267 Count Servers that Communicate 57.9% Medium


(/problems/count-servers-that-communicate)

 654 Maximum Binary Tree (/problems/maximum- 79.9% Medium


binary-tree)

https://leetcode.com/company/google/ 40/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

 357 Count Numbers with Unique Digits 48.4% Medium


(/problems/count-numbers-with-unique-digits) 

1099 Two Sum Less Than K (/problems/two-sum-less- 60.6% Easy


than-k) 

 680 Valid Palindrome II (/problems/valid-palindrome-ii) 36.6% Easy

 1026 Maximum Difference Between Node and Ancestor 66.0% Medium


(/problems/maximum-difference-between-node-
and-ancestor)

 901 Online Stock Span (/problems/online-stock-span) 60.2% Medium

1235 Maximum Profit in Job Scheduling 44.0% Hard


(/problems/maximum-profit-in-job-scheduling)

 819 Most Common Word (/problems/most-common- 44.8% Easy


word) 

1167 Minimum Cost to Connect Sticks 62.8% Medium


(/problems/minimum-cost-to-connect-sticks) 

 643 Maximum Average Subarray I 41.5% Easy


(/problems/maximum-average-subarray-i)

 468 Validate IP Address (/problems/validate-ip- 24.0% Medium


address)

1079 Letter Tile Possibilities (/problems/letter-tile- 75.4% Medium


possibilities)

 814 Binary Tree Pruning (/problems/binary-tree- 74.5% Medium


pruning)

1179 Reformat Department Table (/problems/reformat- 80.6% Easy


department-table)

779 K-th Symbol in Grammar (/problems/k-th-symbol- 37.2% Medium


in-grammar)

917 Reverse Only Letters (/problems/reverse-only- 58.0% Easy


letters)

709 To Lower Case (/problems/to-lower-case) 79.3% Easy

 1342 Number of Steps to Reduce a Number to Zero 86.3% Easy


(/problems/number-of-steps-to-reduce-a-number-
to-zero)

 783 Minimum Distance Between BST Nodes 52.6% Easy


(/problems/minimum-distance-between-bst-nodes)

https://leetcode.com/company/google/ 41/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

1051 Height Checker (/problems/height-checker) 71.1% Easy

541 Reverse String II (/problems/reverse-string-ii) 48.4% Easy

1089 Duplicate Zeros (/problems/duplicate-zeros) 52.9% Easy

 1365 How Many Numbers Are Smaller Than the 85.6% Easy
Current Number (/problems/how-many-numbers-
are-smaller-than-the-current-number)

 1313 Decompress Run-Length Encoded List 85.1% Easy


(/problems/decompress-run-length-encoded-list)

1281 Subtract the Product and Sum of Digits of an 85.2% Easy


Integer (/problems/subtract-the-product-and-sum-
of-digits-of-an-integer)

 1480 Running Sum of 1d Array (/problems/running- 90.5% Easy


sum-of-1d-array)

 700 Search in a Binary Search Tree 73.1% Easy


(/problems/search-in-a-binary-search-tree)

 1530 Number of Good Leaf Nodes Pairs 53.6% Medium


(/problems/number-of-good-leaf-nodes-pairs)

545 Boundary of Binary Tree (/problems/boundary-of- 38.9% Medium


binary-tree) 

644 Maximum Average Subarray II 32.0% Hard


(/problems/maximum-average-subarray-ii) 

481 Magical String (/problems/magical-string) 47.5% Medium

506 Relative Ranks (/problems/relative-ranks) 50.5% Easy

514 Freedom Trail (/problems/freedom-trail) 43.0% Hard

 520 Detect Capital (/problems/detect-capital) 54.3% Easy

521 Longest Uncommon Subsequence I 57.6% Easy


(/problems/longest-uncommon-subsequence-i)

522 Longest Uncommon Subsequence II 34.0% Medium


(/problems/longest-uncommon-subsequence-ii)

 526 Beautiful Arrangement (/problems/beautiful- 57.8% Medium


arrangement)

533 Lonely Pixel II (/problems/lonely-pixel-ii)  47.9% Medium

569 Median Employee Salary (/problems/median- 57.7% Hard


employee-salary) 

https://leetcode.com/company/google/ 42/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

638 Shopping Offers (/problems/shopping-offers) 51.5% Medium

651 4 Keys Keyboard (/problems/4-keys-keyboard) 52.5% Medium


656 Coin Path (/problems/coin-path)  29.0% Hard

667 Beautiful Arrangement II (/problems/beautiful- 54.3% Medium


arrangement-ii)

756 Pyramid Transition Matrix (/problems/pyramid- 54.6% Medium


transition-matrix)

782 Transform to Chessboard (/problems/transform- 46.4% Hard


to-chessboard)

 789 Escape The Ghosts (/problems/escape-the- 57.4% Medium


ghosts)

808 Soup Servings (/problems/soup-servings) 39.9% Medium

 813 Largest Sum of Averages (/problems/largest-sum- 49.9% Medium


of-averages)

816 Ambiguous Coordinates (/problems/ambiguous- 47.2% Medium


coordinates)

838 Push Dominoes (/problems/push-dominoes) 48.5% Medium

847 Shortest Path Visiting All Nodes 52.0% Hard


(/problems/shortest-path-visiting-all-nodes)

879 Profitable Schemes (/problems/profitable- 39.7% Hard


schemes)

519 Random Flip Matrix (/problems/random-flip- 36.7% Medium


matrix)

906 Super Palindromes (/problems/super- 32.7% Hard


palindromes)

916 Word Subsets (/problems/word-subsets) 47.8% Medium

944 Delete Columns to Make Sorted 70.3% Easy


(/problems/delete-columns-to-make-sorted)

 919 Complete Binary Tree Inserter 57.3% Medium


(/problems/complete-binary-tree-inserter)

954 Array of Doubled Pairs (/problems/array-of- 35.6% Medium


doubled-pairs)

https://leetcode.com/company/google/ 43/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

955 Delete Columns to Make Sorted II 33.2% Medium


(/problems/delete-columns-to-make-sorted-ii)

962 Maximum Width Ramp (/problems/maximum- 45.4% Medium


width-ramp)

988 Smallest String Starting From Leaf 46.1% Medium


(/problems/smallest-string-starting-from-leaf)

1059 All Paths from Source Lead to Destination 44.6% Medium


(/problems/all-paths-from-source-lead-to-
destination) 

1012 Numbers With Repeated Digits 37.5% Hard


(/problems/numbers-with-repeated-digits)

1015 Smallest Integer Divisible by K 32.1% Medium


(/problems/smallest-integer-divisible-by-k)

 1016 Binary String With Substrings Representing 1 To 58.8% Medium


N (/problems/binary-string-with-substrings-
representing-1-to-n)

 1020 Number of Enclaves (/problems/number-of- 57.7% Medium


enclaves)

1037 Valid Boomerang (/problems/valid-boomerang) 37.9% Easy

1182 Shortest Distance to Target Color 52.8% Medium


(/problems/shortest-distance-to-target-color) 

1199 Minimum Time to Build Blocks 37.4% Hard


(/problems/minimum-time-to-build-blocks) 

1078 Occurrences After Bigram 64.7% Easy


(/problems/occurrences-after-bigram)

 1090 Largest Values From Labels (/problems/largest- 58.9% Medium


values-from-labels)

1272 Remove Interval (/problems/remove-interval)  58.6% Medium

1287 Element Appearing More Than 25% In Sorted 60.2% Easy


Array (/problems/element-appearing-more-than-
25-in-sorted-array)

1289 Minimum Falling Path Sum II 60.9% Hard


(/problems/minimum-falling-path-sum-ii)

 1314 Matrix Block Sum (/problems/matrix-block-sum) 73.8% Medium


https://leetcode.com/company/google/ 44/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

1316 Distinct Echo Substrings (/problems/distinct-echo- 46.5% Hard


substrings)

1144 Decrease Elements To Make Array Zigzag 45.4% Medium


(/problems/decrease-elements-to-make-array-
zigzag)

1147 Longest Chunked Palindrome Decomposition 58.6% Hard


(/problems/longest-chunked-palindrome-
decomposition)

 1302 Deepest Leaves Sum (/problems/deepest-leaves- 83.6% Medium


sum)

 1331 Rank Transform of an Array (/problems/rank- 58.0% Easy


transform-of-an-array)

1184 Distance Between Bus Stops (/problems/distance- 54.5% Easy


between-bus-stops)

1207 Unique Number of Occurrences 71.6% Easy


(/problems/unique-number-of-occurrences)

 1514 Path with Maximum Probability (/problems/path- 36.5% Medium


with-maximum-probability)

 1261 Find Elements in a Contaminated Binary Tree 74.3% Medium


(/problems/find-elements-in-a-contaminated-
binary-tree)

1269 Number of Ways to Stay in the Same Place After 43.2% Hard
Some Steps (/problems/number-of-ways-to-stay-
in-the-same-place-after-some-steps)

1270 All People Report to the Given Manager 87.1% Medium


(/problems/all-people-report-to-the-given-
manager) 

 1346 Check If N and Its Double Exist (/problems/check- 37.9% Easy


if-n-and-its-double-exist)

 1387 Sort Integers by The Power Value (/problems/sort- 70.1% Medium


integers-by-the-power-value)

1388 Pizza With 3n Slices (/problems/pizza-with-3n- 44.7% Hard


slices)

1377 Frog Position After T Seconds (/problems/frog- 33.6% Hard


position-after-t-seconds)

1401 Circle and Rectangle Overlapping 41.9% Medium


(/problems/circle-and-rectangle-overlapping)

https://leetcode.com/company/google/ 45/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

1392 Longest Happy Prefix (/problems/longest-happy- 40.1% Hard


prefix)

 1414 Find the Minimum Number of Fibonacci Numbers 63.3% Medium


Whose Sum Is K (/problems/find-the-minimum-
number-of-fibonacci-numbers-whose-sum-is-k)

 1422 Maximum Score After Splitting a String 54.7% Easy


(/problems/maximum-score-after-splitting-a-string)

 1449 Form Largest Integer With Digits That Add up to 41.8% Hard
Target (/problems/form-largest-integer-with-digits-
that-add-up-to-target)

 1441 Build an Array With Stack Operations 68.7% Easy


(/problems/build-an-array-with-stack-operations)

 1461 Check If a String Contains All Binary Codes of 44.7% Medium


Size K (/problems/check-if-a-string-contains-all-
binary-codes-of-size-k)

 1452 People Whose List of Favorite Companies Is Not 53.3% Medium


a Subset of Another List (/problems/people-
whose-list-of-favorite-companies-is-not-a-subset-
of-another-list)

 1471 The k Strongest Values in an Array 57.0% Medium


(/problems/the-k-strongest-values-in-an-array)

1494 Parallel Courses II (/problems/parallel-courses-ii) 32.0% Hard

 1482 Minimum Number of Days to Make m Bouquets 45.8% Medium


(/problems/minimum-number-of-days-to-make-m-
bouquets)

 1488 Avoid Flood in The City (/problems/avoid-flood-in- 25.3% Medium


the-city)

 1508 Range Sum of Sorted Subarray Sums 68.4% Medium


(/problems/range-sum-of-sorted-subarray-sums)

 1509 Minimum Difference Between Largest and 51.0% Medium


Smallest Value in Three Moves
(/problems/minimum-difference-between-largest-
and-smallest-value-in-three-moves)

1498 Number of Subsequences That Satisfy the Given 36.7% Medium


Sum Condition (/problems/number-of-
subsequences-that-satisfy-the-given-sum-
condition)

https://leetcode.com/company/google/ 46/47
8/11/2020 Google - LeetCode

# Title Acceptance Difficulty Frequency 

1499 Max Value of Equation (/problems/max-value-of- 44.4% Hard


equation)

 1503 Last Moment Before All Ants Fall Out of a Plank 51.5% Medium
(/problems/last-moment-before-all-ants-fall-out-of-
a-plank)

 1525 Number of Good Ways to Split a String 69.9% Medium


(/problems/number-of-good-ways-to-split-a-string)

 1526 Minimum Number of Increments on Subarrays to 57.6% Hard


Form a Target Array (/problems/minimum-number-
of-increments-on-subarrays-to-form-a-target-
array)

 1513 Number of Substrings With Only 1s 40.3% Medium


(/problems/number-of-substrings-with-only-1s)

1546 Maximum Number of Non-Overlapping Subarrays 40.5% Medium


With Sum Equals Target (/problems/maximum-
number-of-non-overlapping-subarrays-with-sum-
equals-target)

1506 Find Root of N-Ary Tree (/problems/find-root-of-n- 80.0% Medium


ary-tree) 

1516 Move Sub-Tree of N-Ary Tree (/problems/move- 60.1% Hard


sub-tree-of-n-ary-tree) 

1544 Make The String Great (/problems/make-the- 54.4% Easy


string-great)

1538 Guess the Majority in a Hidden Array 61.9% Medium


(/problems/guess-the-majority-in-a-hidden-array)

Copyright © 2020 LeetCode


Help Center (/support/) | Terms (/terms/) | Privacy Policy (/privacy/)
United States (/region/)

https://leetcode.com/company/google/ 47/47

You might also like