Amazon ?????? ???????? ????????? - ?????????? ????????? ??? 2022

Download as pdf or txt
Download as pdf or txt
You are on page 1of 31

5/18/22, 5:13 PM Amazon - LeetCode

(p
(/) Explore(/explore/) Problems(/problemset/all/)
New
Interview
(/contest/)
Contest
🔈 LeetCode is(https://leetcode.com/jobs/)
Discuss(/discuss/)
hiring! Apply NOW.🔈
0connections-in-a-
Store

network/)
 Amazon

Problems Discuss

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 80 / 1166 problems.

Show problem tags Select time period: All time

  # Title Acceptance Difficulty Frequency 

937 Reorder Data in Log Files (/problems/reorder-data-in-log-files) 56.0% Easy

1041 Robot Bounded In Circle (/problems/robot-bounded-in-circle) 55.4% Medium

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

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

819 Most Common Word (/problems/most-common-word) 45.2% Easy

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

973 K Closest Points to Origin (/problems/k-closest-points-to-origin) 66.0% Medium

138 Copy List with Random Pointer (/problems/copy-list-with-random-pointer) 48.3% Medium

763 Partition Labels (/problems/partition-labels) 79.6% Medium

1152 Analyze User Website Visit Pattern (/problems/analyze-user-website-visit-pattern)  43.4% Medium

42 Trapping Rain Water (/problems/trapping-rain-water) 56.6% Hard

127 Word Ladder (/problems/word-ladder) 35.5% Hard

1335 Minimum Difficulty of a Job Schedule (/problems/minimum-difficulty-of-a-job-schedule) 56.4% Hard

994 Rotting Oranges (/problems/rotting-oranges) 51.8% Medium

957 Prison Cells After N Days (/problems/prison-cells-after-n-days) 39.3% Medium

472 Concatenated Words (/problems/concatenated-words) 43.2% Hard

 23 Merge k Sorted Lists (/problems/merge-k-sorted-lists) 47.2% Hard

 5 Longest Palindromic Substring (/problems/longest-palindromic-substring) 31.8% Medium

692 Top K Frequent Words (/problems/top-k-frequent-words) 54.4% Medium

1268 Search Suggestions System (/problems/search-suggestions-system) 65.3% Medium

273 Integer to English Words (/problems/integer-to-english-words) 29.6% Hard

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

1465 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts (/problems/maximum-area- 37.2% Medium
of-a-piece-of-cake-after-horizontal-and-vertical-cuts)

 295 Find Median from Data Stream (/problems/find-median-from-data-stream) 50.4% Hard

642 Design Search Autocomplete System (/problems/design-search-autocomplete-system)  48.3% Hard

1167 Minimum Cost to Connect Sticks (/problems/minimum-cost-to-connect-sticks)  67.2% Medium

 253 Meeting Rooms II (/problems/meeting-rooms-ii)  49.8% Medium

297 Serialize and Deserialize Binary Tree (/problems/serialize-and-deserialize-binary-tree) 53.9% Hard

1192 Critical Connections in a Network (/problems/critical-connections-in-a-network) 52.9% Hard

https://leetcode.com/company/amazon/ 1/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

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

1010 Pairs of Songs With Total Durations Divisible by 60 (/problems/pairs-of-songs-with-total- 53.6% Medium
durations-divisible-by-60)

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

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

828 Count Unique Characters of All Substrings of a Given String (/problems/count-unique-characters- 50.0% Hard
of-all-substrings-of-a-given-string)

1710 Maximum Units on a Truck (/problems/maximum-units-on-a-truck) 72.0% Easy

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

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

103 Binary Tree Zigzag Level Order Traversal (/problems/binary-tree-zigzag-level-order-traversal) 53.7% Medium

909 Snakes and Ladders (/problems/snakes-and-ladders) 40.5% Medium

240 Search a 2D Matrix II (/problems/search-a-2d-matrix-ii) 48.5% Medium

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

1120 Maximum Average Subtree (/problems/maximum-average-subtree)  65.2% Medium

863 All Nodes Distance K in Binary Tree (/problems/all-nodes-distance-k-in-binary-tree) 61.2% Medium

 21 Merge Two Sorted Lists (/problems/merge-two-sorted-lists) 60.4% Easy

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

588 Design In-Memory File System (/problems/design-in-memory-file-system)  48.4% Hard

4 Median of Two Sorted Arrays (/problems/median-of-two-sorted-arrays) 34.2% Hard

17 Letter Combinations of a Phone Number (/problems/letter-combinations-of-a-phone-number) 54.3% Medium

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

380 Insert Delete GetRandom O(1) (/problems/insert-delete-getrandom-o1) 51.4% Medium

239 Sliding Window Maximum (/problems/sliding-window-maximum) 46.3% Hard

572 Subtree of Another Tree (/problems/subtree-of-another-tree) 45.4% Easy

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

165 Compare Version Numbers (/problems/compare-version-numbers) 34.6% Medium

1135 Connecting Cities With Minimum Cost (/problems/connecting-cities-with-minimum-cost)  60.8% Medium

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

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

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

675 Cut Off Trees for Golf Event (/problems/cut-off-trees-for-golf-event) 35.4% Hard

 236 Lowest Common Ancestor of a Binary Tree (/problems/lowest-common-ancestor-of-a-binary-tree) 55.5% Medium

238 Product of Array Except Self (/problems/product-of-array-except-self) 64.0% Medium

 3 Longest Substring Without Repeating Characters (/problems/longest-substring-without-repeating- 33.1% Medium


characters)

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

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

 545 Boundary of Binary Tree (/problems/boundary-of-binary-tree)  43.3% Medium

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

926 Flip String to Monotone Increasing (/problems/flip-string-to-monotone-increasing) 58.9% Medium

221 Maximal Square (/problems/maximal-square) 43.5% Medium

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

https://leetcode.com/company/amazon/ 2/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

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

33 Search in Rotated Sorted Array (/problems/search-in-rotated-sorted-array) 37.9% Medium

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

547 Number of Provinces (/problems/number-of-provinces) 62.6% Medium

25 Reverse Nodes in k-Group (/problems/reverse-nodes-in-k-group) 51.2% Hard

53 Maximum Subarray (/problems/maximum-subarray) 49.5% Easy

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

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

 11 Container With Most Water (/problems/container-with-most-water) 54.0% Medium

84 Largest Rectangle in Histogram (/problems/largest-rectangle-in-histogram) 40.9% Hard

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

124 Binary Tree Maximum Path Sum (/problems/binary-tree-maximum-path-sum) 37.7% Hard

1648 Sell Diminishing-Valued Colored Balls (/problems/sell-diminishing-valued-colored-balls) 30.9% Medium

535 Encode and Decode TinyURL (/problems/encode-and-decode-tinyurl) 85.4% Medium

2104 Sum of Subarray Ranges (/problems/sum-of-subarray-ranges) 60.3% Medium

76 Minimum Window Substring (/problems/minimum-window-substring) 39.1% Hard

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

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

322 Coin Change (/problems/coin-change) 40.2% Medium

323 Number of Connected Components in an Undirected Graph (/problems/number-of-connected- 61.2% Medium


components-in-an-undirected-graph) 

347 Top K Frequent Elements (/problems/top-k-frequent-elements) 65.0% Medium

 215 Kth Largest Element in an Array (/problems/kth-largest-element-in-an-array) 63.6% Medium

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

387 First Unique Character in a String (/problems/first-unique-character-in-a-string) 57.2% Easy

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

315 Count of Smaller Numbers After Self (/problems/count-of-smaller-numbers-after-self) 42.1% Hard

445 Add Two Numbers II (/problems/add-two-numbers-ii) 58.7% Medium

449 Serialize and Deserialize BST (/problems/serialize-and-deserialize-bst) 56.3% Medium

353 Design Snake Game (/problems/design-snake-game)  38.2% Medium

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

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

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

 45 Jump Game II (/problems/jump-game-ii) 37.3% Medium

696 Count Binary Substrings (/problems/count-binary-substrings) 65.0% Easy

99 Recover Binary Search Tree (/problems/recover-binary-search-tree) 48.8% Medium

41 First Missing Positive (/problems/first-missing-positive) 36.0% Hard

98 Validate Binary Search Tree (/problems/validate-binary-search-tree) 30.6% Medium

564 Find the Closest Palindrome (/problems/find-the-closest-palindrome) 21.4% Hard

 22 Generate Parentheses (/problems/generate-parentheses) 70.2% Medium

218 The Skyline Problem (/problems/the-skyline-problem) 38.8% Hard

72 Edit Distance (/problems/edit-distance) 50.9% Hard

https://leetcode.com/company/amazon/ 3/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

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

1628 Design an Expression Tree With Evaluate Function (/problems/design-an-expression-tree-with- 81.8% Medium
evaluate-function) 

992 Subarrays with K Different Integers (/problems/subarrays-with-k-different-integers) 53.4% Hard

1102 Path With Maximum Minimum Value (/problems/path-with-maximum-minimum-value)  53.0% Medium

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

1481 Least Number of Unique Integers after K Removals (/problems/least-number-of-unique-integers- 60.3% Medium
after-k-removals)

 173 Binary Search Tree Iterator (/problems/binary-search-tree-iterator) 67.4% Medium

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

695 Max Area of Island (/problems/max-area-of-island) 69.8% Medium

 116 Populating Next Right Pointers in Each Node (/problems/populating-next-right-pointers-in-each- 57.3% Medium
node)

93 Restore IP Addresses (/problems/restore-ip-addresses) 42.0% Medium

 64 Minimum Path Sum (/problems/minimum-path-sum) 59.4% Medium

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

341 Flatten Nested List Iterator (/problems/flatten-nested-list-iterator) 60.7% Medium

91 Decode Ways (/problems/decode-ways) 30.3% Medium

135 Candy (/problems/candy) 37.1% Hard

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

438 Find All Anagrams in a String (/problems/find-all-anagrams-in-a-string) 48.3% Medium

503 Next Greater Element II (/problems/next-greater-element-ii) 62.2% Medium

 55 Jump Game (/problems/jump-game) 37.9% Medium

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

1000 Minimum Cost to Merge Stones (/problems/minimum-cost-to-merge-stones) 42.0% Hard

560 Subarray Sum Equals K (/problems/subarray-sum-equals-k) 44.2% Medium

223 Rectangle Area (/problems/rectangle-area) 40.2% Medium

 987 Vertical Order Traversal of a Binary Tree (/problems/vertical-order-traversal-of-a-binary-tree) 41.6% Hard

122 Best Time to Buy and Sell Stock II (/problems/best-time-to-buy-and-sell-stock-ii) 62.1% Medium

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

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

895 Maximum Frequency Stack (/problems/maximum-frequency-stack) 66.4% Hard

 199 Binary Tree Right Side View (/problems/binary-tree-right-side-view) 59.7% Medium

149 Max Points on a Line (/problems/max-points-on-a-line) 20.6% Hard

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

 314 Binary Tree Vertical Order Traversal (/problems/binary-tree-vertical-order-traversal)  51.3% Medium

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

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

388 Longest Absolute File Path (/problems/longest-absolute-file-path) 46.0% Medium

907 Sum of Subarray Minimums (/problems/sum-of-subarray-minimums) 33.9% Medium

1328 Break a Palindrome (/problems/break-a-palindrome) 52.3% Medium

1597 Build Binary Expression Tree From Infix Expression (/problems/build-binary-expression-tree-from- 60.5% Hard
infix-expression) 

https://leetcode.com/company/amazon/ 4/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

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

332 Reconstruct Itinerary (/problems/reconstruct-itinerary) 40.2% Hard

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

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

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

208 Implement Trie (Prefix Tree) (/problems/implement-trie-prefix-tree) 58.4% Medium

1044 Longest Duplicate Substring (/problems/longest-duplicate-substring) 31.1% Hard

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

1492 The kth Factor of n (/problems/the-kth-factor-of-n) 62.0% Medium

1155 Number of Dice Rolls With Target Sum (/problems/number-of-dice-rolls-with-target-sum) 47.8% Medium

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

1011 Capacity To Ship Packages Within D Days (/problems/capacity-to-ship-packages-within-d-days) 63.7% Medium

829 Consecutive Numbers Sum (/problems/consecutive-numbers-sum) 41.1% Hard

437 Path Sum III (/problems/path-sum-iii) 50.1% Medium

1360 Number of Days Between Two Dates (/problems/number-of-days-between-two-dates) 46.8% Easy

109 Convert Sorted List to Binary Search Tree (/problems/convert-sorted-list-to-binary-search-tree) 55.7% Medium

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

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

78 Subsets (/problems/subsets) 71.6% Medium

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

188 Best Time to Buy and Sell Stock IV (/problems/best-time-to-buy-and-sell-stock-iv) 33.8% Hard

102 Binary Tree Level Order Traversal (/problems/binary-tree-level-order-traversal) 61.0% Medium

378 Kth Smallest Element in a Sorted Matrix (/problems/kth-smallest-element-in-a-sorted-matrix) 59.7% Medium

901 Online Stock Span (/problems/online-stock-span) 63.1% Medium

 543 Diameter of Binary Tree (/problems/diameter-of-binary-tree) 54.4% Easy

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

529 Minesweeper (/problems/minesweeper) 64.8% Medium

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

1099 Two Sum Less Than K (/problems/two-sum-less-than-k)  60.5% Easy

96 Unique Binary Search Trees (/problems/unique-binary-search-trees) 58.4% Medium

185 Department Top Three Salaries (/problems/department-top-three-salaries) 47.4% Hard

340 Longest Substring with At Most K Distinct Characters (/problems/longest-substring-with-at-most- 47.4% Medium
k-distinct-characters) 

943 Find the Shortest Superstring (/problems/find-the-shortest-superstring) 45.4% Hard

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

32 Longest Valid Parentheses (/problems/longest-valid-parentheses) 31.3% Hard

92 Reverse Linked List II (/problems/reverse-linked-list-ii) 43.5% Medium

518 Coin Change 2 (/problems/coin-change-2) 57.7% Medium

152 Maximum Product Subarray (/problems/maximum-product-subarray) 34.6% Medium

1429 First Unique Number (/problems/first-unique-number)  52.4% Medium

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

1730 Shortest Path to Get Food (/problems/shortest-path-to-get-food)  54.4% Medium

https://leetcode.com/company/amazon/ 5/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

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

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

1353 Maximum Number of Events That Can Be Attended (/problems/maximum-number-of-events-that- 33.4% Medium
can-be-attended)

117 Populating Next Right Pointers in Each Node II (/problems/populating-next-right-pointers-in- 48.4% Medium
each-node-ii)

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

10 Regular Expression Matching (/problems/regular-expression-matching) 28.3% Hard

496 Next Greater Element I (/problems/next-greater-element-i) 70.2% Easy

211 Design Add and Search Words Data Structure (/problems/design-add-and-search-words-data- 43.9% Medium
structure)

454 4Sum II (/problems/4sum-ii) 57.1% Medium

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

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

1197 Minimum Knight Moves (/problems/minimum-knight-moves)  39.6% Medium

983 Minimum Cost For Tickets (/problems/minimum-cost-for-tickets) 64.1% Medium

739 Daily Temperatures (/problems/daily-temperatures) 67.2% Medium

74 Search a 2D Matrix (/problems/search-a-2d-matrix) 44.6% Medium

234 Palindrome Linked List (/problems/palindrome-linked-list) 46.8% Easy

540 Single Element in a Sorted Array (/problems/single-element-in-a-sorted-array) 58.7% Medium

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

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

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

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

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

538 Convert BST to Greater Tree (/problems/convert-bst-to-greater-tree) 66.3% Medium

634 Find the Derangement of An Array (/problems/find-the-derangement-of-an-array)  41.2% Medium

 71 Simplify Path (/problems/simplify-path) 38.9% Medium

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

46 Permutations (/problems/permutations) 72.5% Medium

711 Number of Distinct Islands II (/problems/number-of-distinct-islands-ii)  51.1% Hard

632 Smallest Range Covering Elements from K Lists (/problems/smallest-range-covering-elements- 58.7% Hard
from-k-lists)

636 Exclusive Time of Functions (/problems/exclusive-time-of-functions) 60.4% Medium

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

1151 Minimum Swaps to Group All 1's Together (/problems/minimum-swaps-to-group-all-1s-together) 59.4% Medium

430 Flatten a Multilevel Doubly Linked List (/problems/flatten-a-multilevel-doubly-linked-list) 58.9% Medium

1603 Design Parking System (/problems/design-parking-system) 87.6% Easy

410 Split Array Largest Sum (/problems/split-array-largest-sum) 52.1% Hard

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

759 Employee Free Time (/problems/employee-free-time)  71.1% Hard

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

516 Longest Palindromic Subsequence (/problems/longest-palindromic-subsequence) 59.4% Medium

https://leetcode.com/company/amazon/ 6/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

346 Moving Average from Data Stream (/problems/moving-average-from-data-stream)  76.4% Easy

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

 176 Second Highest Salary (/problems/second-highest-salary) 35.4% Medium

1799 Maximize Score After N Operations (/problems/maximize-score-after-n-operations) 46.5% Hard

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

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

442 Find All Duplicates in an Array (/problems/find-all-duplicates-in-an-array) 72.5% Medium

443 String Compression (/problems/string-compression) 47.6% Medium

694 Number of Distinct Islands (/problems/number-of-distinct-islands)  60.0% Medium

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

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

279 Perfect Squares (/problems/perfect-squares) 51.9% Medium

1792 Maximum Average Pass Ratio (/problems/maximum-average-pass-ratio) 50.9% Medium

300 Longest Increasing Subsequence (/problems/longest-increasing-subsequence) 49.4% Medium

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

1567 Maximum Length of Subarray With Positive Product (/problems/maximum-length-of-subarray- 43.0% Medium
with-positive-product)

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

 7 Reverse Integer (/problems/reverse-integer) 26.7% Medium

287 Find the Duplicate Number (/problems/find-the-duplicate-number) 58.8% Medium

97 Interleaving String (/problems/interleaving-string) 34.8% Medium

406 Queue Reconstruction by Height (/problems/queue-reconstruction-by-height) 70.2% Medium

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

160 Intersection of Two Linked Lists (/problems/intersection-of-two-linked-lists) 50.1% Easy

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

688 Knight Probability in Chessboard (/problems/knight-probability-in-chessboard) 51.6% Medium

981 Time Based Key-Value Store (/problems/time-based-key-value-store) 52.7% Medium

703 Kth Largest Element in a Stream (/problems/kth-largest-element-in-a-stream) 54.8% Easy

24 Swap Nodes in Pairs (/problems/swap-nodes-in-pairs) 58.9% Medium

1235 Maximum Profit in Job Scheduling (/problems/maximum-profit-in-job-scheduling) 50.9% Hard

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

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

128 Longest Consecutive Sequence (/problems/longest-consecutive-sequence) 48.7% Medium

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

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

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

556 Next Greater Element III (/problems/next-greater-element-iii) 33.9% Medium

420 Strong Password Checker (/problems/strong-password-checker) 14.2% Hard

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

329 Longest Increasing Path in a Matrix (/problems/longest-increasing-path-in-a-matrix) 49.8% Hard

635 Design Log Storage System (/problems/design-log-storage-system)  62.4% Medium

 88 Merge Sorted Array (/problems/merge-sorted-array) 44.0% Easy

https://leetcode.com/company/amazon/ 7/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1344 Angle Between Hands of a Clock (/problems/angle-between-hands-of-a-clock) 63.3% Medium

235 Lowest Common Ancestor of a Binary Search Tree (/problems/lowest-common-ancestor-of-a- 57.2% Easy
binary-search-tree)

1166 Design File System (/problems/design-file-system)  61.6% Medium

646 Maximum Length of Pair Chain (/problems/maximum-length-of-pair-chain) 55.7% Medium

153 Find Minimum in Rotated Sorted Array (/problems/find-minimum-in-rotated-sorted-array) 48.0% Medium

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

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

349 Intersection of Two Arrays (/problems/intersection-of-two-arrays) 69.2% Easy

652 Find Duplicate Subtrees (/problems/find-duplicate-subtrees) 55.9% Medium

81 Search in Rotated Sorted Array II (/problems/search-in-rotated-sorted-array-ii) 35.6% Medium

1100 Find K-Length Substrings With No Repeated Characters (/problems/find-k-length-substrings-with- 74.7% Medium
no-repeated-characters) 

285 Inorder Successor in BST (/problems/inorder-successor-in-bst)  47.2% Medium

 301 Remove Invalid Parentheses (/problems/remove-invalid-parentheses) 46.9% Hard

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

1236 Web Crawler (/problems/web-crawler)  65.8% Medium

993 Cousins in Binary Tree (/problems/cousins-in-binary-tree) 53.8% Easy

997 Find the Town Judge (/problems/find-the-town-judge) 49.8% Easy

114 Flatten Binary Tree to Linked List (/problems/flatten-binary-tree-to-linked-list) 58.0% Medium

 198 House Robber (/problems/house-robber) 47.3% Medium

14 Longest Common Prefix (/problems/longest-common-prefix) 39.5% Easy

151 Reverse Words in a String (/problems/reverse-words-in-a-string) 28.6% Medium

193 Valid Phone Numbers (/problems/valid-phone-numbers) 25.8% Easy

373 Find K Pairs with Smallest Sums (/problems/find-k-pairs-with-smallest-sums) 38.8% Medium

1019 Next Greater Node In Linked List (/problems/next-greater-node-in-linked-list) 59.6% Medium

690 Employee Importance (/problems/employee-importance) 64.1% Medium

150 Evaluate Reverse Polish Notation (/problems/evaluate-reverse-polish-notation) 42.7% Medium

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

662 Maximum Width of Binary Tree (/problems/maximum-width-of-binary-tree) 40.3% Medium

6 Zigzag Conversion (/problems/zigzag-conversion) 41.6% Medium

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

428 Serialize and Deserialize N-ary Tree (/problems/serialize-and-deserialize-n-ary-tree)  64.4% Hard

489 Robot Room Cleaner (/problems/robot-room-cleaner)  76.0% Hard

1038 Binary Search Tree to Greater Sum Tree (/problems/binary-search-tree-to-greater-sum-tree) 84.8% Medium

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

678 Valid Parenthesis String (/problems/valid-parenthesis-string) 33.3% Medium

979 Distribute Coins in Binary Tree (/problems/distribute-coins-in-binary-tree) 71.6% Medium

1629 Slowest Key (/problems/slowest-key) 59.6% Easy

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

698 Partition to K Equal Sum Subsets (/problems/partition-to-k-equal-sum-subsets) 43.7% Medium

181 Employees Earning More Than Their Managers (/problems/employees-earning-more-than-their- 66.5% Easy
managers)

https://leetcode.com/company/amazon/ 8/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

 317 Shortest Distance from All Buildings (/problems/shortest-distance-from-all-buildings)  43.3% Hard

106 Construct Binary Tree from Inorder and Postorder Traversal (/problems/construct-binary-tree- 55.5% Medium
from-inorder-and-postorder-traversal)

131 Palindrome Partitioning (/problems/palindrome-partitioning) 59.7% Medium

 19 Remove Nth Node From End of List (/problems/remove-nth-node-from-end-of-list) 38.4% Medium

417 Pacific Atlantic Water Flow (/problems/pacific-atlantic-water-flow) 49.4% Medium

328 Odd Even Linked List (/problems/odd-even-linked-list) 59.6% Medium

166 Fraction to Recurring Decimal (/problems/fraction-to-recurring-decimal) 23.6% Medium

298 Binary Tree Longest Consecutive Sequence (/problems/binary-tree-longest-consecutive-sequence) 51.3% Medium


407 Trapping Rain Water II (/problems/trapping-rain-water-ii) 47.0% Hard

432 All O`one Data Structure (/problems/all-oone-data-structure) 36.1% Hard

 426 Convert Binary Search Tree to Sorted Doubly Linked List (/problems/convert-binary-search-tree-to- 64.4% Medium
sorted-doubly-linked-list) 

628 Maximum Product of Three Numbers (/problems/maximum-product-of-three-numbers) 46.7% Easy

230 Kth Smallest Element in a BST (/problems/kth-smallest-element-in-a-bst) 67.8% Medium

333 Largest BST Subtree (/problems/largest-bst-subtree)  41.4% Medium

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

1275 Find Winner on a Tic Tac Toe Game (/problems/find-winner-on-a-tic-tac-toe-game) 54.7% Easy

38 Count and Say (/problems/count-and-say) 48.7% Medium

1248 Count Number of Nice Subarrays (/problems/count-number-of-nice-subarrays) 58.7% Medium

29 Divide Two Integers (/problems/divide-two-integers) 17.0% Medium

381 Insert Delete GetRandom O(1) - Duplicates allowed (/problems/insert-delete-getrandom-o1- 35.5% Hard
duplicates-allowed)

528 Random Pick with Weight (/problems/random-pick-with-weight) 46.1% Medium

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

889 Construct Binary Tree from Preorder and Postorder Traversal (/problems/construct-binary-tree- 70.0% Medium
from-preorder-and-postorder-traversal)

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

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

1311 Get Watched Videos by Your Friends (/problems/get-watched-videos-by-your-friends) 45.2% Medium

270 Closest Binary Search Tree Value (/problems/closest-binary-search-tree-value)  53.9% Easy

34 Find First and Last Position of Element in Sorted Array (/problems/find-first-and-last-position-of- 40.1% Medium
element-in-sorted-array)

120 Triangle (/problems/triangle) 50.9% Medium

622 Design Circular Queue (/problems/design-circular-queue) 48.7% Medium

871 Minimum Number of Refueling Stops (/problems/minimum-number-of-refueling-stops) 35.7% Hard

1104 Path In Zigzag Labelled Binary Tree (/problems/path-in-zigzag-labelled-binary-tree) 74.6% Medium

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

1086 High Five (/problems/high-five)  75.4% Easy

480 Sliding Window Median (/problems/sliding-window-median) 41.0% Hard

232 Implement Queue using Stacks (/problems/implement-queue-using-stacks) 58.4% Easy

450 Delete Node in a BST (/problems/delete-node-in-a-bst) 49.1% Medium

325 Maximum Size Subarray Sum Equals k (/problems/maximum-size-subarray-sum-equals-k)  49.2% Medium

https://leetcode.com/company/amazon/ 9/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

395 Longest Substring with At Least K Repeating Characters (/problems/longest-substring-with-at- 44.6% Medium
least-k-repeating-characters)

108 Convert Sorted Array to Binary Search Tree (/problems/convert-sorted-array-to-binary-search-tree) 66.2% Easy

86 Partition List (/problems/partition-list) 48.0% Medium

82 Remove Duplicates from Sorted List II (/problems/remove-duplicates-from-sorted-list-ii) 44.4% Medium

262 Trips and Users (/problems/trips-and-users) 37.9% Hard

1031 Maximum Sum of Two Non-Overlapping Subarrays (/problems/maximum-sum-of-two-non- 59.2% Medium


overlapping-subarrays)

130 Surrounded Regions (/problems/surrounded-regions) 34.1% Medium

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

1026 Maximum Difference Between Node and Ancestor (/problems/maximum-difference-between- 73.2% Medium
node-and-ancestor)

727 Minimum Window Subsequence (/problems/minimum-window-subsequence)  42.8% Hard

657 Robot Return to Origin (/problems/robot-return-to-origin) 75.1% Easy

653 Two Sum IV - Input is a BST (/problems/two-sum-iv-input-is-a-bst) 58.8% Easy

1130 Minimum Cost Tree From Leaf Values (/problems/minimum-cost-tree-from-leaf-values) 68.5% Medium

 167 Two Sum II - Input Array Is Sorted (/problems/two-sum-ii-input-array-is-sorted) 58.8% Medium

57 Insert Interval (/problems/insert-interval) 37.4% Medium

1520 Maximum Number of Non-Overlapping Substrings (/problems/maximum-number-of-non- 37.4% Hard


overlapping-substrings)

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

 787 Cheapest Flights Within K Stops (/problems/cheapest-flights-within-k-stops) 36.0% Medium

969 Pancake Sorting (/problems/pancake-sorting) 69.7% Medium

1244 Design A Leaderboard (/problems/design-a-leaderboard)  68.1% Medium

339 Nested List Weight Sum (/problems/nested-list-weight-sum)  81.3% Medium

61 Rotate List (/problems/rotate-list) 35.0% Medium

352 Data Stream as Disjoint Intervals (/problems/data-stream-as-disjoint-intervals) 50.8% Hard

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

1479 Sales by Day of the Week (/problems/sales-by-day-of-the-week)  82.4% Hard

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

 112 Path Sum (/problems/path-sum) 45.6% Easy

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

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

471 Encode String with Shortest Length (/problems/encode-string-with-shortest-length)  50.6% Hard

316 Remove Duplicate Letters (/problems/remove-duplicate-letters) 44.0% Medium

1219 Path with Maximum Gold (/problems/path-with-maximum-gold) 65.6% Medium

30 Substring with Concatenation of All Words (/problems/substring-with-concatenation-of-all-words) 28.2% Hard

468 Validate IP Address (/problems/validate-ip-address) 26.2% Medium

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

466 Count The Repetitions (/problems/count-the-repetitions) 29.1% Hard

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

1312 Minimum Insertion Steps to Make a String Palindrome (/problems/minimum-insertion-steps-to- 63.8% Hard
make-a-string-palindrome)

 1094 Car Pooling (/problems/car-pooling) 58.1% Medium

https://leetcode.com/company/amazon/ 10/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

603 Consecutive Available Seats (/problems/consecutive-available-seats)  67.8% Easy

304 Range Sum Query 2D - Immutable (/problems/range-sum-query-2d-immutable) 47.9% Medium

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

878 Nth Magical Number (/problems/nth-magical-number) 35.8% Hard

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

1395 Count Number of Teams (/problems/count-number-of-teams) 69.3% Medium

1083 Sales Analysis II (/problems/sales-analysis-ii)  50.5% Easy

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

465 Optimal Account Balancing (/problems/optimal-account-balancing)  49.0% Hard

542 01 Matrix (/problems/01-matrix) 43.8% Medium

204 Count Primes (/problems/count-primes) 33.0% Medium

794 Valid Tic-Tac-Toe State (/problems/valid-tic-tac-toe-state) 35.2% Medium

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

1511 Customer Order Frequency (/problems/customer-order-frequency)  73.2% Easy

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

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

1008 Construct Binary Search Tree from Preorder Traversal (/problems/construct-binary-search-tree- 80.3% Medium
from-preorder-traversal)

658 Find K Closest Elements (/problems/find-k-closest-elements) 44.6% Medium

754 Reach a Number (/problems/reach-a-number) 41.9% Medium

 73 Set Matrix Zeroes (/problems/set-matrix-zeroes) 48.5% Medium

354 Russian Doll Envelopes (/problems/russian-doll-envelopes) 38.9% Hard

209 Minimum Size Subarray Sum (/problems/minimum-size-subarray-sum) 43.4% Medium

104 Maximum Depth of Binary Tree (/problems/maximum-depth-of-binary-tree) 71.9% Easy

856 Score of Parentheses (/problems/score-of-parentheses) 65.4% Medium

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

986 Interval List Intersections (/problems/interval-list-intersections) 71.2% Medium

827 Making A Large Island (/problems/making-a-large-island) 44.8% Hard

508 Most Frequent Subtree Sum (/problems/most-frequent-subtree-sum) 62.9% Medium

451 Sort Characters By Frequency (/problems/sort-characters-by-frequency) 67.8% Medium

132 Palindrome Partitioning II (/problems/palindrome-partitioning-ii) 33.2% Hard

 2130 Maximum Twin Sum of a Linked List (/problems/maximum-twin-sum-of-a-linked-list) 82.2% Medium

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

807 Max Increase to Keep City Skyline (/problems/max-increase-to-keep-city-skyline) 85.5% Medium

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

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

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

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

159 Longest Substring with At Most Two Distinct Characters (/problems/longest-substring-with-at- 52.7% Medium
most-two-distinct-characters) 

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

157 Read N Characters Given Read4 (/problems/read-n-characters-given-read4)  40.4% Easy

1004 Max Consecutive Ones III (/problems/max-consecutive-ones-iii) 63.0% Medium

https://leetcode.com/company/amazon/ 11/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1372 Longest ZigZag Path in a Binary Tree (/problems/longest-zigzag-path-in-a-binary-tree) 58.5% Medium

1569 Number of Ways to Reorder Array to Get Same BST (/problems/number-of-ways-to-reorder-array- 49.1% Hard
to-get-same-bst)

 523 Continuous Subarray Sum (/problems/continuous-subarray-sum) 27.3% Medium

1110 Delete Nodes And Return Forest (/problems/delete-nodes-and-return-forest) 69.3% Medium

881 Boats to Save People (/problems/boats-to-save-people) 52.5% Medium

1315 Sum of Nodes with Even-Valued Grandparent (/problems/sum-of-nodes-with-even-valued- 85.3% Medium


grandparent)

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

1331 Rank Transform of an Array (/problems/rank-transform-of-an-array) 58.5% Easy

1373 Maximum Sum BST in Binary Tree (/problems/maximum-sum-bst-in-binary-tree) 38.7% Hard

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

1972 First and Last Call On the Same Day (/problems/first-and-last-call-on-the-same-day)  52.8% Hard

421 Maximum XOR of Two Numbers in an Array (/problems/maximum-xor-of-two-numbers-in-an- 54.3% Medium


array)

228 Summary Ranges (/problems/summary-ranges) 46.4% Easy

129 Sum Root to Leaf Numbers (/problems/sum-root-to-leaf-numbers) 57.1% Medium

243 Shortest Word Distance (/problems/shortest-word-distance)  64.4% Easy

1214 Two Sum BSTs (/problems/two-sum-bsts)  66.5% Medium

609 Find Duplicate File in System (/problems/find-duplicate-file-in-system) 63.8% Medium

669 Trim a Binary Search Tree (/problems/trim-a-binary-search-tree) 66.3% Medium

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

 617 Merge Two Binary Trees (/problems/merge-two-binary-trees) 78.0% Easy

891 Sum of Subsequence Widths (/problems/sum-of-subsequence-widths) 35.7% Hard

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

180 Consecutive Numbers (/problems/consecutive-numbers) 45.7% Medium

532 K-diff Pairs in an Array (/problems/k-diff-pairs-in-an-array) 40.2% Medium

448 Find All Numbers Disappeared in an Array (/problems/find-all-numbers-disappeared-in-an-array) 59.1% Easy

601 Human Traffic of Stadium (/problems/human-traffic-of-stadium) 49.7% Hard

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

 189 Rotate Array (/problems/rotate-array) 38.6% Medium

737 Sentence Similarity II (/problems/sentence-similarity-ii)  48.2% Medium

419 Battleships in a Board (/problems/battleships-in-a-board) 73.6% Medium

1772 Sort Features by Popularity (/problems/sort-features-by-popularity)  65.5% Medium

1889 Minimum Space Wasted From Packaging (/problems/minimum-space-wasted-from-packaging) 30.2% Hard

334 Increasing Triplet Subsequence (/problems/increasing-triplet-subsequence) 41.5% Medium

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

1143 Longest Common Subsequence (/problems/longest-common-subsequence) 58.9% Medium

416 Partition Equal Subset Sum (/problems/partition-equal-subset-sum) 46.4% Medium

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

631 Design Excel Sum Formula (/problems/design-excel-sum-formula)  42.1% Hard

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

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

https://leetcode.com/company/amazon/ 12/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

 9 Palindrome Number (/problems/palindrome-number) 52.4% Easy

69 Sqrt(x) (/problems/sqrtx) 36.5% Easy

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

1233 Remove Sub-Folders from the Filesystem (/problems/remove-sub-folders-from-the-filesystem) 65.2% Medium

1915 Number of Wonderful Substrings (/problems/number-of-wonderful-substrings) 43.7% Medium

83 Remove Duplicates from Sorted List (/problems/remove-duplicates-from-sorted-list) 49.1% Easy

 26 Remove Duplicates from Sorted Array (/problems/remove-duplicates-from-sorted-array) 49.0% Easy

1002 Find Common Characters (/problems/find-common-characters) 68.4% Easy

187 Repeated DNA Sequences (/problems/repeated-dna-sequences) 44.8% Medium

158 Read N Characters Given read4 II - Call Multiple Times (/problems/read-n-characters-given-read4- 40.9% Hard
ii-call-multiple-times) 

345 Reverse Vowels of a String (/problems/reverse-vowels-of-a-string) 47.0% Easy

1022 Sum of Root To Leaf Binary Numbers (/problems/sum-of-root-to-leaf-binary-numbers) 73.8% Easy

186 Reverse Words in a String II (/problems/reverse-words-in-a-string-ii)  51.1% Medium

849 Maximize Distance to Closest Person (/problems/maximize-distance-to-closest-person) 47.4% Medium

579 Find Cumulative Salary of an Employee (/problems/find-cumulative-salary-of-an-employee)  43.3% Hard

 350 Intersection of Two Arrays II (/problems/intersection-of-two-arrays-ii) 55.0% Easy

894 All Possible Full Binary Trees (/problems/all-possible-full-binary-trees) 79.5% Medium

163 Missing Ranges (/problems/missing-ranges)  31.3% Easy

307 Range Sum Query - Mutable (/problems/range-sum-query-mutable) 38.7% Medium

1209 Remove All Adjacent Duplicates in String II (/problems/remove-all-adjacent-duplicates-in-string-ii) 56.2% Medium

1046 Last Stone Weight (/problems/last-stone-weight) 64.4% Easy

687 Longest Univalue Path (/problems/longest-univalue-path) 39.5% Medium

647 Palindromic Substrings (/problems/palindromic-substrings) 64.7% Medium

862 Shortest Subarray with Sum at Least K (/problems/shortest-subarray-with-sum-at-least-k) 26.2% Hard

670 Maximum Swap (/problems/maximum-swap) 47.6% Medium

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

873 Length of Longest Fibonacci Subsequence (/problems/length-of-longest-fibonacci-subsequence) 48.6% Medium

89 Gray Code (/problems/gray-code) 55.4% Medium

1914 Cyclically Rotating a Grid (/problems/cyclically-rotating-a-grid) 47.2% Medium

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

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

650 2 Keys Keyboard (/problems/2-keys-keyboard) 52.4% Medium

1740 Find Distance in a Binary Tree (/problems/find-distance-in-a-binary-tree)  68.4% Medium

175 Combine Two Tables (/problems/combine-two-tables) 70.4% Easy

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

225 Implement Stack using Queues (/problems/implement-stack-using-queues) 55.3% Easy

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

1081 Smallest Subsequence of Distinct Characters (/problems/smallest-subsequence-of-distinct- 56.9% Medium


characters)

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

626 Exchange Seats (/problems/exchange-seats) 69.4% Medium

https://leetcode.com/company/amazon/ 13/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1382 Balance a Binary Search Tree (/problems/balance-a-binary-search-tree) 80.3% Medium

355 Design Twitter (/problems/design-twitter) 34.7% Medium

775 Global and Local Inversions (/problems/global-and-local-inversions) 45.1% Medium

203 Remove Linked List Elements (/problems/remove-linked-list-elements) 43.6% Easy

581 Shortest Unsorted Continuous Subarray (/problems/shortest-unsorted-continuous-subarray) 36.0% Medium

813 Largest Sum of Averages (/problems/largest-sum-of-averages) 52.5% Medium

233 Number of Digit One (/problems/number-of-digit-one) 33.7% Hard

1222 Queens That Can Attack the King (/problems/queens-that-can-attack-the-king) 71.2% Medium

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

638 Shopping Offers (/problems/shopping-offers) 54.6% Medium

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

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

 1249 Minimum Remove to Make Valid Parentheses (/problems/minimum-remove-to-make-valid- 65.7% Medium


parentheses)

260 Single Number III (/problems/single-number-iii) 67.2% Medium

1258 Synonymous Sentences (/problems/synonymous-sentences)  56.5% Medium

305 Number of Islands II (/problems/number-of-islands-ii)  39.4% Hard

912 Sort an Array (/problems/sort-an-array) 61.4% Medium

171 Excel Sheet Column Number (/problems/excel-sheet-column-number) 60.7% Easy

90 Subsets II (/problems/subsets-ii) 53.4% Medium

1537 Get the Maximum Score (/problems/get-the-maximum-score) 39.2% Hard

40 Combination Sum II (/problems/combination-sum-ii) 52.4% Medium

1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit (/problems/longest- 46.6% Medium
continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit)

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

1339 Maximum Product of Splitted Binary Tree (/problems/maximum-product-of-splitted-binary-tree) 43.0% Medium

222 Count Complete Tree Nodes (/problems/count-complete-tree-nodes) 55.4% Medium

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

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

845 Longest Mountain in Array (/problems/longest-mountain-in-array) 39.9% Medium

1161 Maximum Level Sum of a Binary Tree (/problems/maximum-level-sum-of-a-binary-tree) 66.5% Medium

95 Unique Binary Search Trees II (/problems/unique-binary-search-trees-ii) 49.6% Medium

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

898 Bitwise ORs of Subarrays (/problems/bitwise-ors-of-subarrays) 36.3% Medium

174 Dungeon Game (/problems/dungeon-game) 36.6% Hard

433 Minimum Genetic Mutation (/problems/minimum-genetic-mutation) 46.9% Medium

1043 Partition Array for Maximum Sum (/problems/partition-array-for-maximum-sum) 70.3% Medium

1071 Greatest Common Divisor of Strings (/problems/greatest-common-divisor-of-strings) 51.4% Easy

1062 Longest Repeating Substring (/problems/longest-repeating-substring)  59.1% Medium

1225 Report Contiguous Dates (/problems/report-contiguous-dates)  63.4% Hard

168 Excel Sheet Column Title (/problems/excel-sheet-column-title) 34.0% Easy

94 Binary Tree Inorder Traversal (/problems/binary-tree-inorder-traversal) 70.9% Easy

 184 Department Highest Salary (/problems/department-highest-salary) 47.2% Medium

https://leetcode.com/company/amazon/ 14/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1074 Number of Submatrices That Sum to Target (/problems/number-of-submatrices-that-sum-to- 66.3% Hard


target)

1138 Alphabet Board Path (/problems/alphabet-board-path) 52.4% Medium

725 Split Linked List in Parts (/problems/split-linked-list-in-parts) 56.9% Medium

1314 Matrix Block Sum (/problems/matrix-block-sum) 75.2% Medium

376 Wiggle Subsequence (/problems/wiggle-subsequence) 45.0% Medium

 359 Logger Rate Limiter (/problems/logger-rate-limiter)  75.0% Easy

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

291 Word Pattern II (/problems/word-pattern-ii)  46.3% Medium

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

502 IPO (/problems/ipo) 44.2% Hard

663 Equal Tree Partition (/problems/equal-tree-partition)  41.3% Medium

1383 Maximum Performance of a Team (/problems/maximum-performance-of-a-team) 41.5% Hard

1896 Minimum Cost to Change the Final Value of Expression (/problems/minimum-cost-to-change-the- 54.0% Hard
final-value-of-expression)

779 K-th Symbol in Grammar (/problems/k-th-symbol-in-grammar) 39.9% Medium

107 Binary Tree Level Order Traversal II (/problems/binary-tree-level-order-traversal-ii) 58.8% Medium

946 Validate Stack Sequences (/problems/validate-stack-sequences) 67.6% Medium

918 Maximum Sum Circular Subarray (/problems/maximum-sum-circular-subarray) 37.2% Medium

720 Longest Word in Dictionary (/problems/longest-word-in-dictionary) 51.0% Medium

1723 Find Minimum Time to Finish All Jobs (/problems/find-minimum-time-to-finish-all-jobs) 43.0% Hard

164 Maximum Gap (/problems/maximum-gap) 41.5% Hard

311 Sparse Matrix Multiplication (/problems/sparse-matrix-multiplication)  66.4% Medium

299 Bulls and Cows (/problems/bulls-and-cows) 47.3% Medium

939 Minimum Area Rectangle (/problems/minimum-area-rectangle) 53.6% Medium

801 Minimum Swaps To Make Sequences Increasing (/problems/minimum-swaps-to-make-sequences- 39.2% Hard


increasing)

1574 Shortest Subarray to be Removed to Make Array Sorted (/problems/shortest-subarray-to-be- 35.8% Medium
removed-to-make-array-sorted)

256 Paint House (/problems/paint-house)  58.9% Medium

310 Minimum Height Trees (/problems/minimum-height-trees) 38.1% Medium

953 Verifying an Alien Dictionary (/problems/verifying-an-alien-dictionary) 52.5% Easy

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

1487 Making File Names Unique (/problems/making-file-names-unique) 35.0% Medium

797 All Paths From Source to Target (/problems/all-paths-from-source-to-target) 80.9% Medium

368 Largest Divisible Subset (/problems/largest-divisible-subset) 40.6% Medium

877 Stone Game (/problems/stone-game) 69.2% Medium

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

201 Bitwise AND of Numbers Range (/problems/bitwise-and-of-numbers-range) 41.8% Medium

1489 Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree (/problems/find-critical-and- 53.0% Hard
pseudo-critical-edges-in-minimum-spanning-tree)

 178 Rank Scores (/problems/rank-scores) 57.6% Medium

435 Non-overlapping Intervals (/problems/non-overlapping-intervals) 48.4% Medium

1060 Missing Element in Sorted Array (/problems/missing-element-in-sorted-array)  55.0% Medium

https://leetcode.com/company/amazon/ 15/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

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

110 Balanced Binary Tree (/problems/balanced-binary-tree) 46.9% Easy

745 Prefix and Suffix Search (/problems/prefix-and-suffix-search) 36.6% Hard

377 Combination Sum IV (/problems/combination-sum-iv) 49.5% Medium

905 Sort Array By Parity (/problems/sort-array-by-parity) 75.7% Easy

958 Check Completeness of a Binary Tree (/problems/check-completeness-of-a-binary-tree) 53.7% Medium

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

413 Arithmetic Slices (/problems/arithmetic-slices) 64.5% Medium

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

1270 All People Report to the Given Manager (/problems/all-people-report-to-the-given-manager)  88.0% Medium

1751 Maximum Number of Events That Can Be Attended II (/problems/maximum-number-of-events- 54.9% Hard
that-can-be-attended-ii)

1953 Maximum Number of Weeks for Which You Can Work (/problems/maximum-number-of-weeks- 37.7% Medium
for-which-you-can-work)

1179 Reformat Department Table (/problems/reformat-department-table) 82.4% Easy

509 Fibonacci Number (/problems/fibonacci-number) 68.2% Easy

409 Longest Palindrome (/problems/longest-palindrome) 53.6% Easy

756 Pyramid Transition Matrix (/problems/pyramid-transition-matrix) 54.5% Medium

264 Ugly Number II (/problems/ugly-number-ii) 45.3% Medium

371 Sum of Two Integers (/problems/sum-of-two-integers) 50.6% Medium

 217 Contains Duplicate (/problems/contains-duplicate) 60.9% Easy

241 Different Ways to Add Parentheses (/problems/different-ways-to-add-parentheses) 61.8% Medium

1636 Sort Array by Increasing Frequency (/problems/sort-array-by-increasing-frequency) 68.4% Easy

 1047 Remove All Adjacent Duplicates In String (/problems/remove-all-adjacent-duplicates-in-string) 71.0% Easy

1139 Largest 1-Bordered Square (/problems/largest-1-bordered-square) 49.5% Medium

296 Best Meeting Point (/problems/best-meeting-point)  59.4% Hard

615 Average Salary: Departments VS Company (/problems/average-salary-departments-vs-company) 56.4% Hard


676 Implement Magic Dictionary (/problems/implement-magic-dictionary) 56.6% Medium

708 Insert into a Sorted Circular Linked List (/problems/insert-into-a-sorted-circular-linked-list)  34.4% Medium

1480 Running Sum of 1d Array (/problems/running-sum-of-1d-array) 89.6% Easy

1497 Check If Array Pairs Are Divisible by k (/problems/check-if-array-pairs-are-divisible-by-k) 40.4% Medium

2055 Plates Between Candles (/problems/plates-between-candles) 45.3% Medium

60 Permutation Sequence (/problems/permutation-sequence) 42.2% Hard

637 Average of Levels in Binary Tree (/problems/average-of-levels-in-binary-tree) 68.8% Easy

1923 Longest Common Subpath (/problems/longest-common-subpath) 28.3% Hard

47 Permutations II (/problems/permutations-ii) 55.4% Medium

814 Binary Tree Pruning (/problems/binary-tree-pruning) 71.0% Medium

1761 Minimum Degree of a Connected Trio in a Graph (/problems/minimum-degree-of-a-connected- 41.5% Hard


trio-in-a-graph)

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

852 Peak Index in a Mountain Array (/problems/peak-index-in-a-mountain-array) 70.3% Easy

154 Find Minimum in Rotated Sorted Array II (/problems/find-minimum-in-rotated-sorted-array-ii) 43.3% Hard

1291 Sequential Digits (/problems/sequential-digits) 60.9% Medium

https://leetcode.com/company/amazon/ 16/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

583 Delete Operation for Two Strings (/problems/delete-operation-for-two-strings) 56.0% Medium

1277 Count Square Submatrices with All Ones (/problems/count-square-submatrices-with-all-ones) 74.2% Medium

115 Distinct Subsequences (/problems/distinct-subsequences) 42.4% Hard

995 Minimum Number of K Consecutive Bit Flips (/problems/minimum-number-of-k-consecutive-bit- 50.7% Hard


flips)

1721 Swapping Nodes in a Linked List (/problems/swapping-nodes-in-a-linked-list) 68.3% Medium

1108 Defanging an IP Address (/problems/defanging-an-ip-address) 89.0% Easy

1932 Merge BSTs to Create Single BST (/problems/merge-bsts-to-create-single-bst) 35.0% Hard

541 Reverse String II (/problems/reverse-string-ii) 50.2% Easy

214 Shortest Palindrome (/problems/shortest-palindrome) 31.8% Hard

2102 Sequentially Ordinal Rank Tracker (/problems/sequentially-ordinal-rank-tracker) 62.9% Hard

618 Students Report By Geography (/problems/students-report-by-geography)  63.5% Hard

611 Valid Triangle Number (/problems/valid-triangle-number) 49.8% Medium

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

783 Minimum Distance Between BST Nodes (/problems/minimum-distance-between-bst-nodes) 56.2% Easy

172 Factorial Trailing Zeroes (/problems/factorial-trailing-zeroes) 40.8% Medium

665 Non-decreasing Array (/problems/non-decreasing-array) 21.6% Medium

1190 Reverse Substrings Between Each Pair of Parentheses (/problems/reverse-substrings-between- 65.8% Medium
each-pair-of-parentheses)

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

557 Reverse Words in a String III (/problems/reverse-words-in-a-string-iii) 78.9% Easy

2214 Minimum Health to Beat Game (/problems/minimum-health-to-beat-game)  56.8% Medium

977 Squares of a Sorted Array (/problems/squares-of-a-sorted-array) 71.7% Easy

718 Maximum Length of Repeated Subarray (/problems/maximum-length-of-repeated-subarray) 51.3% Medium

237 Delete Node in a Linked List (/problems/delete-node-in-a-linked-list) 72.0% Easy

272 Closest Binary Search Tree Value II (/problems/closest-binary-search-tree-value-ii)  57.1% Hard

796 Rotate String (/problems/rotate-string) 52.4% Easy

686 Repeated String Match (/problems/repeated-string-match) 33.6% Medium

1106 Parsing A Boolean Expression (/problems/parsing-a-boolean-expression) 58.8% Hard

1333 Filter Restaurants by Vegan-Friendly, Price and Distance (/problems/filter-restaurants-by-vegan- 59.0% Medium
friendly-price-and-distance)

1846 Maximum Element After Decreasing and Rearranging (/problems/maximum-element-after- 58.0% Medium
decreasing-and-rearranging)

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

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

1375 Number of Times Binary String Is Prefix-Aligned (/problems/number-of-times-binary-string-is- 65.7% Medium


prefix-aligned)

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

847 Shortest Path Visiting All Nodes (/problems/shortest-path-visiting-all-nodes) 61.3% Hard

2111 Minimum Operations to Make the Array K-Increasing (/problems/minimum-operations-to-make- 36.5% Hard
the-array-k-increasing)

1329 Sort the Matrix Diagonally (/problems/sort-the-matrix-diagonally) 81.4% Medium

861 Score After Flipping Matrix (/problems/score-after-flipping-matrix) 74.8% Medium

844 Backspace String Compare (/problems/backspace-string-compare) 48.0% Easy

684 Redundant Connection (/problems/redundant-connection) 61.2% Medium

https://leetcode.com/company/amazon/ 17/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

884 Uncommon Words from Two Sentences (/problems/uncommon-words-from-two-sentences) 65.6% Easy

559 Maximum Depth of N-ary Tree (/problems/maximum-depth-of-n-ary-tree) 71.1% Easy

77 Combinations (/problems/combinations) 64.1% Medium

338 Counting Bits (/problems/counting-bits) 74.3% Easy

820 Short Encoding of Words (/problems/short-encoding-of-words) 55.3% Medium

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

746 Min Cost Climbing Stairs (/problems/min-cost-climbing-stairs) 58.9% Easy

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

1153 String Transforms Into Another String (/problems/string-transforms-into-another-string)  35.5% Hard

1162 As Far from Land as Possible (/problems/as-far-from-land-as-possible) 48.1% Medium

951 Flip Equivalent Binary Trees (/problems/flip-equivalent-binary-trees) 66.7% Medium

875 Koko Eating Bananas (/problems/koko-eating-bananas) 54.5% Medium

1485 Clone Binary Tree With Random Pointer (/problems/clone-binary-tree-with-random-pointer)  79.7% Medium

923 3Sum With Multiplicity (/problems/3sum-with-multiplicity) 45.5% Medium

876 Middle of the Linked List (/problems/middle-of-the-linked-list) 72.7% Easy

111 Minimum Depth of Binary Tree (/problems/minimum-depth-of-binary-tree) 42.6% Easy

414 Third Maximum Number (/problems/third-maximum-number) 31.9% Easy

701 Insert into a Binary Search Tree (/problems/insert-into-a-binary-search-tree) 74.9% Medium

651 4 Keys Keyboard (/problems/4-keys-keyboard)  54.1% Medium

1601 Maximum Number of Achievable Transfer Requests (/problems/maximum-number-of-achievable- 50.8% Hard


transfer-requests)

2021 Brightest Position on Street (/problems/brightest-position-on-street)  62.8% Medium

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

 680 Valid Palindrome II (/problems/valid-palindrome-ii) 39.4% Easy

219 Contains Duplicate II (/problems/contains-duplicate-ii) 40.7% Easy

1202 Smallest String With Swaps (/problems/smallest-string-with-swaps) 57.1% Medium

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

536 Construct Binary Tree from String (/problems/construct-binary-tree-from-string)  55.9% Medium

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

1376 Time Needed to Inform All Employees (/problems/time-needed-to-inform-all-employees) 58.1% Medium

1029 Two City Scheduling (/problems/two-city-scheduling) 63.7% Medium

1034 Coloring A Border (/problems/coloring-a-border) 48.5% Medium

1156 Swap For Longest Repeated Character Substring (/problems/swap-for-longest-repeated-character- 46.1% Medium
substring)

795 Number of Subarrays with Bounded Maximum (/problems/number-of-subarrays-with-bounded- 52.4% Medium


maximum)

1136 Parallel Courses (/problems/parallel-courses)  60.9% Medium

929 Unique Email Addresses (/problems/unique-email-addresses) 67.3% Easy

1164 Product Price at a Given Date (/problems/product-price-at-a-given-date)  68.4% Medium

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

1305 All Elements in Two Binary Search Trees (/problems/all-elements-in-two-binary-search-trees) 79.6% Medium

1293 Shortest Path in a Grid with Obstacles Elimination (/problems/shortest-path-in-a-grid-with- 43.5% Hard
obstacles-elimination)

https://leetcode.com/company/amazon/ 18/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

867 Transpose Matrix (/problems/transpose-matrix) 61.0% Easy

 570 Managers with at Least 5 Direct Reports (/problems/managers-with-at-least-5-direct-reports)  67.1% Medium

1547 Minimum Cost to Cut a Stick (/problems/minimum-cost-to-cut-a-stick) 55.2% Hard

1326 Minimum Number of Taps to Open to Water a Garden (/problems/minimum-number-of-taps-to- 48.0% Hard
open-to-water-a-garden)

546 Remove Boxes (/problems/remove-boxes) 47.4% Hard

1092 Shortest Common Supersequence (/problems/shortest-common-supersequence) 56.0% Hard

1496 Path Crossing (/problems/path-crossing) 55.8% Easy

1856 Maximum Subarray Min-Product (/problems/maximum-subarray-min-product) 35.7% Medium

641 Design Circular Deque (/problems/design-circular-deque) 57.3% Medium

968 Binary Tree Cameras (/problems/binary-tree-cameras) 42.0% Hard

1470 Shuffle the Array (/problems/shuffle-the-array) 88.4% Easy

 366 Find Leaves of Binary Tree (/problems/find-leaves-of-binary-tree)  78.7% Medium

424 Longest Repeating Character Replacement (/problems/longest-repeating-character-replacement) 50.9% Medium

781 Rabbits in Forest (/problems/rabbits-in-forest) 55.7% Medium

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

790 Domino and Tromino Tiling (/problems/domino-and-tromino-tiling) 47.9% Medium

1285 Find the Start and End Number of Continuous Ranges (/problems/find-the-start-and-end-number- 88.2% Medium
of-continuous-ranges) 

1160 Find Words That Can Be Formed by Characters (/problems/find-words-that-can-be-formed-by- 67.7% Easy
characters)

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

838 Push Dominoes (/problems/push-dominoes) 52.4% Medium

1191 K-Concatenation Maximum Sum (/problems/k-concatenation-maximum-sum) 24.1% Medium

920 Number of Music Playlists (/problems/number-of-music-playlists) 50.0% Hard

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

826 Most Profit Assigning Work (/problems/most-profit-assigning-work) 42.3% Medium

1398 Customers Who Bought Products A and B but Not C (/problems/customers-who-bought- 78.4% Medium
products-a-and-b-but-not-c) 

515 Find Largest Value in Each Tree Row (/problems/find-largest-value-in-each-tree-row) 64.5% Medium

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

258 Add Digits (/problems/add-digits) 62.5% Easy

768 Max Chunks To Make Sorted II (/problems/max-chunks-to-make-sorted-ii) 52.0% Hard

379 Design Phone Directory (/problems/design-phone-directory)  50.4% Medium

655 Print Binary Tree (/problems/print-binary-tree) 60.0% Medium

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

1596 The Most Frequently Ordered Products for Each Customer (/problems/the-most-frequently- 85.1% Medium
ordered-products-for-each-customer) 

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

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

1028 Recover a Tree From Preorder Traversal (/problems/recover-a-tree-from-preorder-traversal) 72.5% Hard

1220 Count Vowels Permutation (/problems/count-vowels-permutation) 56.2% Hard

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

 704 Binary Search (/problems/binary-search) 55.2% Easy

https://leetcode.com/company/amazon/ 19/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

685 Redundant Connection II (/problems/redundant-connection-ii) 33.8% Hard

743 Network Delay Time (/problems/network-delay-time) 50.1% Medium

630 Course Schedule III (/problems/course-schedule-iii) 35.7% Hard

902 Numbers At Most N Given Digit Set (/problems/numbers-at-most-n-given-digit-set) 40.9% Hard

1703 Minimum Adjacent Swaps for K Consecutive Ones (/problems/minimum-adjacent-swaps-for-k- 41.4% Hard
consecutive-ones)

897 Increasing Order Search Tree (/problems/increasing-order-search-tree) 78.3% Easy

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

922 Sort Array By Parity II (/problems/sort-array-by-parity-ii) 70.6% Easy

1670 Design Front Middle Back Queue (/problems/design-front-middle-back-queue) 55.7% Medium

1811 Find Interview Candidates (/problems/find-interview-candidates)  65.1% Medium

1049 Last Stone Weight II (/problems/last-stone-weight-ii) 51.2% Medium

1699 Number of Calls Between Two Persons (/problems/number-of-calls-between-two-persons)  85.8% Medium

1416 Restore The Array (/problems/restore-the-array) 37.9% Hard

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

730 Count Different Palindromic Subsequences (/problems/count-different-palindromic-subsequences) 44.4% Hard

674 Longest Continuous Increasing Subsequence (/problems/longest-continuous-increasing- 48.5% Easy


subsequence)

1306 Jump Game III (/problems/jump-game-iii) 62.8% Medium

1405 Longest Happy String (/problems/longest-happy-string) 56.6% Medium

707 Design Linked List (/problems/design-linked-list) 27.0% Medium

282 Expression Add Operators (/problems/expression-add-operators) 39.2% Hard

834 Sum of Distances in Tree (/problems/sum-of-distances-in-tree) 53.1% Hard

1035 Uncrossed Lines (/problems/uncrossed-lines) 58.0% Medium

917 Reverse Only Letters (/problems/reverse-only-letters) 61.0% Easy

 1045 Customers Who Bought All Products (/problems/customers-who-bought-all-products)  67.5% Medium

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

1180 Count Substrings with Only One Distinct Letter (/problems/count-substrings-with-only-one- 78.8% Easy
distinct-letter) 

382 Linked List Random Node (/problems/linked-list-random-node) 59.0% Medium

1403 Minimum Subsequence in Non-Increasing Order (/problems/minimum-subsequence-in-non- 72.2% Easy


increasing-order)

1559 Detect Cycles in 2D Grid (/problems/detect-cycles-in-2d-grid) 48.0% Medium

717 1-bit and 2-bit Characters (/problems/1-bit-and-2-bit-characters) 46.2% Easy

1007 Minimum Domino Rotations For Equal Row (/problems/minimum-domino-rotations-for-equal- 52.6% Medium
row)

1650 Lowest Common Ancestor of a Binary Tree III (/problems/lowest-common-ancestor-of-a-binary- 77.4% Medium
tree-iii) 

1128 Number of Equivalent Domino Pairs (/problems/number-of-equivalent-domino-pairs) 46.4% Easy

1171 Remove Zero Sum Consecutive Nodes from Linked List (/problems/remove-zero-sum-consecutive- 42.6% Medium
nodes-from-linked-list)

1254 Number of Closed Islands (/problems/number-of-closed-islands) 63.4% Medium

216 Combination Sum III (/problems/combination-sum-iii) 66.0% Medium

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

1068 Product Sales Analysis I (/problems/product-sales-analysis-i)  80.9% Easy

https://leetcode.com/company/amazon/ 20/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1207 Unique Number of Occurrences (/problems/unique-number-of-occurrences) 71.9% Easy

 35 Search Insert Position (/problems/search-insert-position) 42.3% Easy

1119 Remove Vowels from a String (/problems/remove-vowels-from-a-string)  90.7% Easy

1105 Filling Bookcase Shelves (/problems/filling-bookcase-shelves) 58.1% Medium

1454 Active Users (/problems/active-users)  38.4% Medium

429 N-ary Tree Level Order Traversal (/problems/n-ary-tree-level-order-traversal) 68.9% Medium

890 Find and Replace Pattern (/problems/find-and-replace-pattern) 75.6% Medium

517 Super Washing Machines (/problems/super-washing-machines) 39.4% Hard

899 Orderly Queue (/problems/orderly-queue) 58.5% Hard

1600 Throne Inheritance (/problems/throne-inheritance) 63.1% Medium

220 Contains Duplicate III (/problems/contains-duplicate-iii) 21.7% Medium

1386 Cinema Seat Allocation (/problems/cinema-seat-allocation) 39.8% Medium

2100 Find Good Days to Rob the Bank (/problems/find-good-days-to-rob-the-bank) 46.8% Medium

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

513 Find Bottom Left Tree Value (/problems/find-bottom-left-tree-value) 65.3% Medium

576 Out of Boundary Paths (/problems/out-of-boundary-paths) 40.2% Medium

1478 Allocate Mailboxes (/problems/allocate-mailboxes) 55.4% Hard

145 Binary Tree Postorder Traversal (/problems/binary-tree-postorder-traversal) 64.3% Easy

452 Minimum Number of Arrows to Burst Balloons (/problems/minimum-number-of-arrows-to-burst- 52.9% Medium


balloons)

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

255 Verify Preorder Sequence in Binary Search Tree (/problems/verify-preorder-sequence-in-binary- 47.6% Medium
search-tree) 

1367 Linked List in Binary Tree (/problems/linked-list-in-binary-tree) 42.8% Medium

1838 Frequency of the Most Frequent Element (/problems/frequency-of-the-most-frequent-element) 37.1% Medium

244 Shortest Word Distance II (/problems/shortest-word-distance-ii)  59.7% Medium

1642 Furthest Building You Can Reach (/problems/furthest-building-you-can-reach) 45.2% Medium

710 Random Pick with Blacklist (/problems/random-pick-with-blacklist) 33.3% Hard

1722 Minimize Hamming Distance After Swap Operations (/problems/minimize-hamming-distance- 48.1% Medium
after-swap-operations)

475 Heaters (/problems/heaters) 35.4% Medium

769 Max Chunks To Make Sorted (/problems/max-chunks-to-make-sorted) 57.7% Medium

2110 Number of Smooth Descent Periods of a Stock (/problems/number-of-smooth-descent-periods- 55.7% Medium


of-a-stock)

1472 Design Browser History (/problems/design-browser-history) 75.0% Medium

383 Ransom Note (/problems/ransom-note) 55.9% Easy

742 Closest Leaf in a Binary Tree (/problems/closest-leaf-in-a-binary-tree)  45.7% Medium

823 Binary Trees With Factors (/problems/binary-trees-with-factors) 43.7% Medium

1013 Partition Array Into Three Parts With Equal Sum (/problems/partition-array-into-three-parts-with- 44.4% Easy
equal-sum)

1552 Magnetic Force Between Two Balls (/problems/magnetic-force-between-two-balls) 55.1% Medium

931 Minimum Falling Path Sum (/problems/minimum-falling-path-sum) 67.4% Medium

654 Maximum Binary Tree (/problems/maximum-binary-tree) 83.6% Medium

755 Pour Water (/problems/pour-water)  45.6% Medium

https://leetcode.com/company/amazon/ 21/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

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

740 Delete and Earn (/problems/delete-and-earn) 57.3% Medium

1365 How Many Numbers Are Smaller Than the Current Number (/problems/how-many-numbers-are- 86.4% Easy
smaller-than-the-current-number)

792 Number of Matching Subsequences (/problems/number-of-matching-subsequences) 50.6% Medium

605 Can Place Flowers (/problems/can-place-flowers) 33.1% Easy

1571 Warehouse Manager (/problems/warehouse-manager)  89.9% Easy

1644 Lowest Common Ancestor of a Binary Tree II (/problems/lowest-common-ancestor-of-a-binary- 59.0% Medium


tree-ii) 

507 Perfect Number (/problems/perfect-number) 37.6% Easy

1313 Decompress Run-Length Encoded List (/problems/decompress-run-length-encoded-list) 85.9% Easy

886 Possible Bipartition (/problems/possible-bipartition) 47.4% Medium

1251 Average Selling Price (/problems/average-selling-price)  83.2% Easy

567 Permutation in String (/problems/permutation-in-string) 44.6% Medium

453 Minimum Moves to Equal Array Elements (/problems/minimum-moves-to-equal-array-elements) 54.2% Medium

1351 Count Negative Numbers in a Sorted Matrix (/problems/count-negative-numbers-in-a-sorted- 75.2% Easy


matrix)

1283 Find the Smallest Divisor Given a Threshold (/problems/find-the-smallest-divisor-given-a- 54.0% Medium
threshold)

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

461 Hamming Distance (/problems/hamming-distance) 74.5% Easy

398 Random Pick Index (/problems/random-pick-index) 63.6% Medium

485 Max Consecutive Ones (/problems/max-consecutive-ones) 55.1% Easy

313 Super Ugly Number (/problems/super-ugly-number) 45.7% Medium

974 Subarray Sums Divisible by K (/problems/subarray-sums-divisible-by-k) 53.2% Medium

848 Shifting Letters (/problems/shifting-letters) 45.4% Medium

1198 Find Smallest Common Element in All Rows (/problems/find-smallest-common-element-in-all- 76.0% Medium
rows) 

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

1425 Constrained Subsequence Sum (/problems/constrained-subsequence-sum) 46.7% Hard

1431 Kids With the Greatest Number of Candies (/problems/kids-with-the-greatest-number-of-candies) 87.7% Easy

1505 Minimum Possible Integer After at Most K Adjacent Swaps On Digits (/problems/minimum- 37.8% Hard
possible-integer-after-at-most-k-adjacent-swaps-on-digits)

1658 Minimum Operations to Reduce X to Zero (/problems/minimum-operations-to-reduce-x-to-zero) 33.6% Medium

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

1200 Minimum Absolute Difference (/problems/minimum-absolute-difference) 69.9% Easy

2125 Number of Laser Beams in a Bank (/problems/number-of-laser-beams-in-a-bank) 83.3% Medium

1266 Minimum Time Visiting All Points (/problems/minimum-time-visiting-all-points) 79.1% Easy

1255 Maximum Score Words Formed by Letters (/problems/maximum-score-words-formed-by-letters) 72.2% Hard

1911 Maximum Alternating Subsequence Sum (/problems/maximum-alternating-subsequence-sum) 59.1% Medium

1299 Replace Elements with Greatest Element on Right Side (/problems/replace-elements-with- 74.5% Easy
greatest-element-on-right-side)

892 Surface Area of 3D Shapes (/problems/surface-area-of-3d-shapes) 61.9% Easy

1980 Find Unique Binary String (/problems/find-unique-binary-string) 63.4% Medium

1539 Kth Missing Positive Number (/problems/kth-missing-positive-number) 55.6% Easy

https://leetcode.com/company/amazon/ 22/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1834 Single-Threaded CPU (/problems/single-threaded-cpu) 41.2% Medium

880 Decoded String at Index (/problems/decoded-string-at-index) 28.3% Medium

673 Number of Longest Increasing Subsequence (/problems/number-of-longest-increasing- 41.0% Medium


subsequence)

 1584 Min Cost to Connect All Points (/problems/min-cost-to-connect-all-points) 64.3% Medium

459 Repeated Substring Pattern (/problems/repeated-substring-pattern) 43.6% Easy

1483 Kth Ancestor of a Tree Node (/problems/kth-ancestor-of-a-tree-node) 33.5% Hard

1325 Delete Leaves With a Given Value (/problems/delete-leaves-with-a-given-value) 74.8% Medium

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

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

2096 Step-By-Step Directions From a Binary Tree Node to Another (/problems/step-by-step-directions- 48.6% Medium
from-a-binary-tree-node-to-another)

1005 Maximize Sum Of Array After K Negations (/problems/maximize-sum-of-array-after-k-negations) 51.4% Easy

1381 Design a Stack With Increment Operation (/problems/design-a-stack-with-increment-operation) 77.1% Medium

1350 Students With Invalid Departments (/problems/students-with-invalid-departments)  90.5% Easy

1673 Find the Most Competitive Subsequence (/problems/find-the-most-competitive-subsequence) 48.5% Medium

539 Minimum Time Difference (/problems/minimum-time-difference) 55.1% Medium

183 Customers Who Never Order (/problems/customers-who-never-order) 63.8% Easy

762 Prime Number of Set Bits in Binary Representation (/problems/prime-number-of-set-bits-in- 66.8% Easy
binary-representation)

436 Find Right Interval (/problems/find-right-interval) 49.6% Medium

1968 Array With Elements Not Equal to Average of Neighbors (/problems/array-with-elements-not- 48.6% Medium
equal-to-average-of-neighbors)

941 Valid Mountain Array (/problems/valid-mountain-array) 33.7% Easy

1221 Split a String in Balanced Strings (/problems/split-a-string-in-balanced-strings) 84.6% Easy

455 Assign Cookies (/problems/assign-cookies) 50.7% Easy

888 Fair Candy Swap (/problems/fair-candy-swap) 60.4% Easy

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

749 Contain Virus (/problems/contain-virus) 50.2% Hard

427 Construct Quad Tree (/problems/construct-quad-tree) 65.4% Medium

80 Remove Duplicates from Sorted Array II (/problems/remove-duplicates-from-sorted-array-ii) 50.6% Medium

990 Satisfiability of Equality Equations (/problems/satisfiability-of-equality-equations) 50.1% Medium

 921 Minimum Add to Make Parentheses Valid (/problems/minimum-add-to-make-parentheses-valid) 77.0% Medium

1448 Count Good Nodes in Binary Tree (/problems/count-good-nodes-in-binary-tree) 73.0% Medium

1498 Number of Subsequences That Satisfy the Given Sum Condition (/problems/number-of- 39.2% Medium
subsequences-that-satisfy-the-given-sum-condition)

1669 Merge In Between Linked Lists (/problems/merge-in-between-linked-lists) 74.5% Medium

1389 Create Target Array in the Given Order (/problems/create-target-array-in-the-given-order) 85.6% Easy

1149 Article Views II (/problems/article-views-ii)  47.8% Medium

1712 Ways to Split Array Into Three Subarrays (/problems/ways-to-split-array-into-three-subarrays) 31.7% Medium

1109 Corporate Flight Bookings (/problems/corporate-flight-bookings) 58.9% Medium

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

196 Delete Duplicate Emails (/problems/delete-duplicate-emails) 53.0% Easy

1414 Find the Minimum Number of Fibonacci Numbers Whose Sum Is K (/problems/find-the-minimum- 65.3% Medium
number-of-fibonacci-numbers-whose-sum-is-k)

https://leetcode.com/company/amazon/ 23/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1679 Max Number of K-Sum Pairs (/problems/max-number-of-k-sum-pairs) 57.6% Medium

865 Smallest Subtree with all the Deepest Nodes (/problems/smallest-subtree-with-all-the-deepest- 67.9% Medium
nodes)

1288 Remove Covered Intervals (/problems/remove-covered-intervals) 57.4% Medium

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

1954 Minimum Garden Perimeter to Collect Enough Apples (/problems/minimum-garden-perimeter-to- 52.5% Medium
collect-enough-apples)

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

1675 Minimize Deviation in Array (/problems/minimize-deviation-in-array) 52.5% Hard

950 Reveal Cards In Increasing Order (/problems/reveal-cards-in-increasing-order) 77.1% Medium

1570 Dot Product of Two Sparse Vectors (/problems/dot-product-of-two-sparse-vectors)  90.3% Medium

598 Range Addition II (/problems/range-addition-ii) 54.7% Easy

842 Split Array into Fibonacci Sequence (/problems/split-array-into-fibonacci-sequence) 37.8% Medium

874 Walking Robot Simulation (/problems/walking-robot-simulation) 37.8% Medium

2009 Minimum Number of Operations to Make Array Continuous (/problems/minimum-number-of- 45.6% Hard
operations-to-make-array-continuous)

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

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

1347 Minimum Number of Steps to Make Two Strings Anagram (/problems/minimum-number-of-steps- 76.4% Medium
to-make-two-strings-anagram)

1098 Unpopular Books (/problems/unpopular-books)  45.1% Medium

1084 Sales Analysis III (/problems/sales-analysis-iii) 53.8% Easy

713 Subarray Product Less Than K (/problems/subarray-product-less-than-k) 43.9% Medium

2040 Kth Smallest Product of Two Sorted Arrays (/problems/kth-smallest-product-of-two-sorted-arrays) 28.9% Hard

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

1095 Find in Mountain Array (/problems/find-in-mountain-array) 35.9% Hard

1963 Minimum Number of Swaps to Make the String Balanced (/problems/minimum-number-of-swaps- 67.6% Medium
to-make-the-string-balanced)

643 Maximum Average Subarray I (/problems/maximum-average-subarray-i) 43.5% Easy

1534 Count Good Triplets (/problems/count-good-triplets) 80.6% Easy

 1091 Shortest Path in Binary Matrix (/problems/shortest-path-in-binary-matrix) 44.3% Medium

249 Group Shifted Strings (/problems/group-shifted-strings)  63.7% Medium

728 Self Dividing Numbers (/problems/self-dividing-numbers) 77.0% Easy

1925 Count Square Sum Triples (/problems/count-square-sum-triples) 67.7% Easy

1557 Minimum Number of Vertices to Reach All Nodes (/problems/minimum-number-of-vertices-to- 78.8% Medium
reach-all-nodes)

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

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

1334 Find the City With the Smallest Number of Neighbors at a Threshold Distance (/problems/find-the- 51.4% Medium
city-with-the-smallest-number-of-neighbors-at-a-threshold-distance)

613 Shortest Distance in a Line (/problems/shortest-distance-in-a-line)  81.2% Easy

1082 Sales Analysis I (/problems/sales-analysis-i)  75.2% Easy

2018 Check if Word Can Be Placed In Crossword (/problems/check-if-word-can-be-placed-in-crossword) 48.3% Medium

405 Convert a Number to Hexadecimal (/problems/convert-a-number-to-hexadecimal) 45.8% Easy

https://leetcode.com/company/amazon/ 24/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1495 Friendly Movies Streamed Last Month (/problems/friendly-movies-streamed-last-month)  50.3% Easy

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

1239 Maximum Length of a Concatenated String with Unique Characters (/problems/maximum-length- 50.5% Medium
of-a-concatenated-string-with-unique-characters)

441 Arranging Coins (/problems/arranging-coins) 45.4% Easy

 602 Friend Requests II: Who Has the Most Friends (/problems/friend-requests-ii-who-has-the-most- 60.8% Medium
friends) 

959 Regions Cut By Slashes (/problems/regions-cut-by-slashes) 68.7% Medium

1290 Convert Binary Number in a Linked List to Integer (/problems/convert-binary-number-in-a-linked- 82.6% Easy
list-to-integer)

1321 Restaurant Growth (/problems/restaurant-growth)  72.4% Medium

1711 Count Good Meals (/problems/count-good-meals) 28.6% Medium

367 Valid Perfect Square (/problems/valid-perfect-square) 43.0% Easy

778 Swim in Rising Water (/problems/swim-in-rising-water) 58.8% Hard

2035 Partition Array Into Two Arrays to Minimize Sum Difference (/problems/partition-array-into-two- 21.0% Hard
arrays-to-minimize-sum-difference)

738 Monotone Increasing Digits (/problems/monotone-increasing-digits) 46.8% Medium

1319 Number of Operations to Make Network Connected (/problems/number-of-operations-to-make- 57.8% Medium


network-connected)

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

648 Replace Words (/problems/replace-words) 62.0% Medium

633 Sum of Square Numbers (/problems/sum-of-square-numbers) 34.7% Medium

916 Word Subsets (/problems/word-subsets) 52.6% Medium

1175 Prime Arrangements (/problems/prime-arrangements) 52.9% Easy

1948 Delete Duplicate Folders in System (/problems/delete-duplicate-folders-in-system) 59.1% Hard

1525 Number of Good Ways to Split a String (/problems/number-of-good-ways-to-split-a-string) 70.0% Medium

2262 Total Appeal of A String (/problems/total-appeal-of-a-string) 51.7% Hard

263 Ugly Number (/problems/ugly-number) 41.8% Easy

1262 Greatest Sum Divisible by Three (/problems/greatest-sum-divisible-by-three) 50.9% Medium

1676 Lowest Common Ancestor of a Binary Tree IV (/problems/lowest-common-ancestor-of-a-binary- 79.5% Medium


tree-iv) 

1217 Minimum Cost to Move Chips to The Same Position (/problems/minimum-cost-to-move-chips-to- 72.6% Easy
the-same-position)

1610 Maximum Number of Visible Points (/problems/maximum-number-of-visible-points) 36.8% Hard

1631 Path With Minimum Effort (/problems/path-with-minimum-effort) 55.0% Medium

144 Binary Tree Preorder Traversal (/problems/binary-tree-preorder-traversal) 62.7% Easy

1297 Maximum Number of Occurrences of a Substring (/problems/maximum-number-of-occurrences- 52.4% Medium


of-a-substring)

1801 Number of Orders in the Backlog (/problems/number-of-orders-in-the-backlog) 46.2% Medium

1512 Number of Good Pairs (/problems/number-of-good-pairs) 88.0% Easy

1059 All Paths from Source Lead to Destination (/problems/all-paths-from-source-lead-to-destination) 41.5% Medium

627 Swap Salary (/problems/swap-salary) 80.1% Easy

590 N-ary Tree Postorder Traversal (/problems/n-ary-tree-postorder-traversal) 76.2% Easy

1310 XOR Queries of a Subarray (/problems/xor-queries-of-a-subarray) 71.3% Medium

1332 Remove Palindromic Subsequences (/problems/remove-palindromic-subsequences) 69.6% Easy

https://leetcode.com/company/amazon/ 25/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

709 To Lower Case (/problems/to-lower-case) 81.4% Easy

197 Rising Temperature (/problems/rising-temperature) 42.7% Easy

970 Powerful Integers (/problems/powerful-integers) 43.6% Medium

396 Rotate Function (/problems/rotate-function) 39.4% Medium

1048 Longest String Chain (/problems/longest-string-chain) 57.9% Medium

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

1107 New Users Daily Count (/problems/new-users-daily-count)  45.7% Medium

1129 Shortest Path with Alternating Colors (/problems/shortest-path-with-alternating-colors) 42.2% Medium

1201 Ugly Number III (/problems/ugly-number-iii) 28.2% Medium

1348 Tweet Counts Per Frequency (/problems/tweet-counts-per-frequency) 43.1% Medium

1641 Count Sorted Vowel Strings (/problems/count-sorted-vowel-strings) 77.6% Medium

586 Customer Placing the Largest Number of Orders (/problems/customer-placing-the-largest- 74.0% Easy
number-of-orders)

1342 Number of Steps to Reduce a Number to Zero (/problems/number-of-steps-to-reduce-a-number- 85.5% Easy


to-zero)

327 Count of Range Sum (/problems/count-of-range-sum) 36.0% Hard

526 Beautiful Arrangement (/problems/beautiful-arrangement) 64.4% Medium

608 Tree Node (/problems/tree-node) 72.9% Medium

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

1451 Rearrange Words in a Sentence (/problems/rearrange-words-in-a-sentence) 62.0% Medium

896 Monotonic Array (/problems/monotonic-array) 58.4% Easy

1920 Build Array from Permutation (/problems/build-array-from-permutation) 91.6% Easy

1337 The K Weakest Rows in a Matrix (/problems/the-k-weakest-rows-in-a-matrix) 74.2% Easy

553 Optimal Division (/problems/optimal-division) 59.1% Medium

1134 Armstrong Number (/problems/armstrong-number)  78.3% Easy

1169 Invalid Transactions (/problems/invalid-transactions) 30.1% Medium

58 Length of Last Word (/problems/length-of-last-word) 37.9% Easy

1578 Minimum Time to Make Rope Colorful (/problems/minimum-time-to-make-rope-colorful) 61.2% Medium

1910 Remove All Occurrences of a Substring (/problems/remove-all-occurrences-of-a-substring) 72.1% Medium

661 Image Smoother (/problems/image-smoother) 54.4% Easy

1408 String Matching in an Array (/problems/string-matching-in-an-array) 63.9% Easy

700 Search in a Binary Search Tree (/problems/search-in-a-binary-search-tree) 76.5% Easy

1588 Sum of All Odd Length Subarrays (/problems/sum-of-all-odd-length-subarrays) 83.5% Easy

476 Number Complement (/problems/number-complement) 66.8% Easy

1777 Product's Price for Each Store (/problems/products-price-for-each-store)  85.8% Easy

2272 Substring With Largest Variance (/problems/substring-with-largest-variance) 25.3% Hard

1352 Product of the Last K Numbers (/problems/product-of-the-last-k-numbers) 48.0% Medium

1594 Maximum Non Negative Product in a Matrix (/problems/maximum-non-negative-product-in-a- 33.1% Medium


matrix)

1613 Find the Missing IDs (/problems/find-the-missing-ids)  75.9% Medium

2134 Minimum Swaps to Group All 1's Together II (/problems/minimum-swaps-to-group-all-1s- 47.9% Medium
together-ii)

1689 Partitioning Into Minimum Number Of Deci-Binary Numbers (/problems/partitioning-into- 87.8% Medium
minimum-number-of-deci-binary-numbers)

https://leetcode.com/company/amazon/ 26/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

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

1370 Increasing Decreasing String (/problems/increasing-decreasing-string) 77.8% Easy

1462 Course Schedule IV (/problems/course-schedule-iv) 48.0% Medium

1926 Nearest Exit from Entrance in Maze (/problems/nearest-exit-from-entrance-in-maze) 40.9% Medium

2222 Number of Ways to Select Buildings (/problems/number-of-ways-to-select-buildings) 45.7% Medium

487 Max Consecutive Ones II (/problems/max-consecutive-ones-ii)  48.9% Medium

1050 Actors and Directors Who Cooperated At Least Three Times (/problems/actors-and-directors-who- 72.7% Easy
cooperated-at-least-three-times)

1413 Minimum Value to Get Positive Step by Step Sum (/problems/minimum-value-to-get-positive- 68.6% Easy
step-by-step-sum)

1475 Final Prices With a Special Discount in a Shop (/problems/final-prices-with-a-special-discount-in- 75.2% Easy
a-shop)

477 Total Hamming Distance (/problems/total-hamming-distance) 52.0% Medium

1456 Maximum Number of Vowels in a Substring of Given Length (/problems/maximum-number-of- 57.5% Medium
vowels-in-a-substring-of-given-length)

1445 Apples & Oranges (/problems/apples-oranges)  91.5% Medium

1490 Clone N-ary Tree (/problems/clone-n-ary-tree)  83.8% Medium

744 Find Smallest Letter Greater Than Target (/problems/find-smallest-letter-greater-than-target) 45.1% Easy

1338 Reduce Array Size to The Half (/problems/reduce-array-size-to-the-half) 68.4% Medium

303 Range Sum Query - Immutable (/problems/range-sum-query-immutable) 55.6% Easy

1069 Product Sales Analysis II (/problems/product-sales-analysis-ii)  82.4% Easy

1749 Maximum Absolute Sum of Any Subarray (/problems/maximum-absolute-sum-of-any-subarray) 57.1% Medium

1882 Process Tasks Using Servers (/problems/process-tasks-using-servers) 37.6% Medium

 1762 Buildings With an Ocean View (/problems/buildings-with-an-ocean-view)  79.8% Medium

520 Detect Capital (/problems/detect-capital) 55.7% Easy

1553 Minimum Number of Days to Eat N Oranges (/problems/minimum-number-of-days-to-eat-n- 33.0% Hard


oranges)

1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence (/problems/check-if-a-word-occurs- 64.5% Easy
as-a-prefix-of-any-word-in-a-sentence)

1769 Minimum Number of Operations to Move All Balls to Each Box (/problems/minimum-number-of- 85.7% Medium
operations-to-move-all-balls-to-each-box)

915 Partition Array into Disjoint Intervals (/problems/partition-array-into-disjoint-intervals) 48.4% Medium

1661 Average Time of Process per Machine (/problems/average-time-of-process-per-machine)  79.9% Easy

374 Guess Number Higher or Lower (/problems/guess-number-higher-or-lower) 49.3% Easy

606 Construct String from Binary Tree (/problems/construct-string-from-binary-tree) 57.7% Easy

1070 Product Sales Analysis III (/problems/product-sales-analysis-iii)  49.6% Medium

1089 Duplicate Zeros (/problems/duplicate-zeros) 51.2% Easy

1302 Deepest Leaves Sum (/problems/deepest-leaves-sum) 87.1% Medium

1053 Previous Permutation With One Swap (/problems/previous-permutation-with-one-swap) 51.7% Medium

1590 Make Sum Divisible by P (/problems/make-sum-divisible-by-p) 28.2% Medium

1783 Grand Slam Titles (/problems/grand-slam-titles)  89.3% Medium

1654 Minimum Jumps to Reach Home (/problems/minimum-jumps-to-reach-home) 27.2% Medium

1869 Longer Contiguous Segments of Ones than Zeros (/problems/longer-contiguous-segments-of- 60.3% Easy
ones-than-zeros)

245 Shortest Word Distance III (/problems/shortest-word-distance-iii)  57.2% Medium

1216 Valid Palindrome III (/problems/valid-palindrome-iii)  50.7% Hard

https://leetcode.com/company/amazon/ 27/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1327 List the Products Ordered in a Period (/problems/list-the-products-ordered-in-a-period)  77.1% Easy

1377 Frog Position After T Seconds (/problems/frog-position-after-t-seconds) 36.3% Hard

833 Find And Replace in String (/problems/find-and-replace-in-string) 54.3% Medium

1392 Longest Happy Prefix (/problems/longest-happy-prefix) 44.4% Hard

1404 Number of Steps to Reduce a Number in Binary Representation to One (/problems/number-of- 50.9% Medium
steps-to-reduce-a-number-in-binary-representation-to-one)

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

1303 Find the Team Size (/problems/find-the-team-size)  90.9% Easy

645 Set Mismatch (/problems/set-mismatch) 41.2% Easy

1922 Count Good Numbers (/problems/count-good-numbers) 38.2% Medium

2024 Maximize the Confusion of an Exam (/problems/maximize-the-confusion-of-an-exam) 57.6% Medium

1905 Count Sub Islands (/problems/count-sub-islands) 66.2% Medium

668 Kth Smallest Number in Multiplication Table (/problems/kth-smallest-number-in-multiplication- 51.2% Hard


table)

1886 Determine Whether Matrix Can Be Obtained By Rotation (/problems/determine-whether-matrix- 55.4% Easy
can-be-obtained-by-rotation)

1971 Find if Path Exists in Graph (/problems/find-if-path-exists-in-graph) 50.1% Easy

954 Array of Doubled Pairs (/problems/array-of-doubled-pairs) 38.7% Medium

1770 Maximum Score from Performing Multiplication Operations (/problems/maximum-score-from- 35.7% Medium
performing-multiplication-operations)

1260 Shift 2D Grid (/problems/shift-2d-grid) 68.1% Easy

1859 Sorting the Sentence (/problems/sorting-the-sentence) 84.5% Easy

1396 Design Underground System (/problems/design-underground-system) 73.5% Medium

949 Largest Time for Given Digits (/problems/largest-time-for-given-digits) 35.4% Medium

511 Game Play Analysis I (/problems/game-play-analysis-i) 80.4% Easy

1647 Minimum Deletions to Make Character Frequencies Unique (/problems/minimum-deletions-to- 56.4% Medium
make-character-frequencies-unique)

1696 Jump Game VI (/problems/jump-game-vi) 42.8% Medium

2047 Number of Valid Words in a Sentence (/problems/number-of-valid-words-in-a-sentence) 29.4% Easy

1523 Count Odd Numbers in an Interval Range (/problems/count-odd-numbers-in-an-interval-range) 47.5% Easy

1937 Maximum Number of Points with Cost (/problems/maximum-number-of-points-with-cost) 35.6% Medium

788 Rotated Digits (/problems/rotated-digits) 57.2% Medium

1137 N-th Tribonacci Number (/problems/n-th-tribonacci-number) 63.0% Easy

1295 Find Numbers with Even Number of Digits (/problems/find-numbers-with-even-number-of-digits) 77.1% Easy

595 Big Countries (/problems/big-countries) 76.4% Easy

1944 Number of Visible People in a Queue (/problems/number-of-visible-people-in-a-queue) 70.0% Hard

2116 Check if a Parentheses String Can Be Valid (/problems/check-if-a-parentheses-string-can-be-valid) 31.3% Medium

1518 Water Bottles (/problems/water-bottles) 60.4% Easy

1741 Find Total Time Spent by Each Employee (/problems/find-total-time-spent-by-each-employee) 91.8% Easy

802 Find Eventual Safe States (/problems/find-eventual-safe-states) 52.7% Medium

1752 Check if Array Is Sorted and Rotated (/problems/check-if-array-is-sorted-and-rotated) 47.9% Easy

1832 Check if the Sentence Is Pangram (/problems/check-if-the-sentence-is-pangram) 81.4% Easy

1615 Maximal Network Rank (/problems/maximal-network-rank) 56.9% Medium

2078 Two Furthest Houses With Different Colors (/problems/two-furthest-houses-with-different-colors) 68.3% Easy

https://leetcode.com/company/amazon/ 28/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1509 Minimum Difference Between Largest and Smallest Value in Three Moves (/problems/minimum- 55.3% Medium
difference-between-largest-and-smallest-value-in-three-moves)

2221 Find Triangular Sum of an Array (/problems/find-triangular-sum-of-an-array) 79.1% Medium

1779 Find Nearest Point That Has the Same X or Y Coordinate (/problems/find-nearest-point-that-has- 68.0% Easy
the-same-x-or-y-coordinate)

2115 Find All Possible Recipes from Given Supplies (/problems/find-all-possible-recipes-from-given- 44.6% Medium
supplies)

1871 Jump Game VII (/problems/jump-game-vii) 24.9% Medium

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

1672 Richest Customer Wealth (/problems/richest-customer-wealth) 89.2% Easy

607 Sales Person (/problems/sales-person) 69.5% Easy

1502 Can Make Arithmetic Progression From Sequence (/problems/can-make-arithmetic-progression- 69.6% Easy
from-sequence)

1572 Matrix Diagonal Sum (/problems/matrix-diagonal-sum) 79.2% Easy

1795 Rearrange Products Table (/problems/rearrange-products-table) 90.8% Easy

1491 Average Salary Excluding the Minimum and Maximum Salary (/problems/average-salary- 64.8% Easy
excluding-the-minimum-and-maximum-salary)

1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree (/problems/find-a- 87.5% Easy
corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree)

2036 Maximum Alternating Subarray Sum (/problems/maximum-alternating-subarray-sum)  40.7% Medium

537 Complex Number Multiplication (/problems/complex-number-multiplication) 71.1% Medium

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

851 Loud and Rich (/problems/loud-and-rich) 56.8% Medium

1067 Digit Count in Range (/problems/digit-count-in-range)  43.0% Hard

1065 Index Pairs of a String (/problems/index-pairs-of-a-string)  62.5% Easy

1085 Sum of Digits in the Minimum Number (/problems/sum-of-digits-in-the-minimum-number)  75.7% Easy

1118 Number of Days in a Month (/problems/number-of-days-in-a-month)  56.7% Easy

1133 Largest Unique Number (/problems/largest-unique-number)  67.4% Easy

1054 Distant Barcodes (/problems/distant-barcodes) 45.2% Medium

1080 Insufficient Nodes in Root to Leaf Paths (/problems/insufficient-nodes-in-root-to-leaf-paths) 52.0% Medium

1259 Handshakes That Don't Cross (/problems/handshakes-that-dont-cross)  56.2% Hard

1362 Closest Divisors (/problems/closest-divisors) 59.2% Medium

1363 Largest Multiple of Three (/problems/largest-multiple-of-three) 34.0% Hard

1176 Diet Plan Performance (/problems/diet-plan-performance)  52.5% Easy

1409 Queries on a Permutation With Key (/problems/queries-on-a-permutation-with-key) 82.9% Medium

1421 NPV Queries (/problems/npv-queries)  83.7% Easy

1457 Pseudo-Palindromic Paths in a Binary Tree (/problems/pseudo-palindromic-paths-in-a-binary-tree) 67.1% Medium

1558 Minimum Numbers of Function Calls to Make Target Array (/problems/minimum-numbers-of- 64.2% Medium
function-calls-to-make-target-array)

1533 Find the Index of the Large Integer (/problems/find-the-index-of-the-large-integer)  50.5% Medium

1621 Number of Sets of K Non-Overlapping Line Segments (/problems/number-of-sets-of-k-non- 42.5% Medium


overlapping-line-segments)

1623 All Valid Triplets That Can Represent a Country (/problems/all-valid-triplets-that-can-represent-a- 88.5% Easy
country) 

1634 Add Two Polynomials Represented as Linked Lists (/problems/add-two-polynomials-represented- 53.6% Medium
as-linked-lists) 

https://leetcode.com/company/amazon/ 29/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

1680 Concatenation of Consecutive Binary Numbers (/problems/concatenation-of-consecutive-binary- 52.6% Medium


numbers)

1734 Decode XORed Permutation (/problems/decode-xored-permutation) 60.9% Medium

1735 Count Ways to Make Array With Product (/problems/count-ways-to-make-array-with-product) 49.3% Hard

1750 Minimum Length of String After Deleting Similar Ends (/problems/minimum-length-of-string- 43.3% Medium
after-deleting-similar-ends)

1764 Form Array by Concatenating Subarrays of Another Array (/problems/form-array-by- 53.0% Medium
concatenating-subarrays-of-another-array)

1782 Count Pairs Of Nodes (/problems/count-pairs-of-nodes) 37.4% Hard

1788 Maximize the Beauty of the Garden (/problems/maximize-the-beauty-of-the-garden)  67.0% Hard

1847 Closest Room (/problems/closest-room) 33.6% Hard

1809 Ad-Free Sessions (/problems/ad-free-sessions)  59.9% Easy

1863 Sum of All Subset XOR Totals (/problems/sum-of-all-subset-xor-totals) 78.5% Easy

1842 Next Palindrome Using Same Digits (/problems/next-palindrome-using-same-digits)  54.5% Hard

1852 Distinct Numbers in Each Subarray (/problems/distinct-numbers-in-each-subarray)  72.5% Medium

1942 The Number of the Smallest Unoccupied Chair (/problems/the-number-of-the-smallest- 39.2% Medium
unoccupied-chair)

1950 Maximum of Minimum Values in All Subarrays (/problems/maximum-of-minimum-values-in-all- 51.3% Medium


subarrays) 

1958 Check if Move is Legal (/problems/check-if-move-is-legal) 43.5% Medium

1955 Count Number of Special Subsequences (/problems/count-number-of-special-subsequences) 50.9% Hard

1981 Minimize the Difference Between Target and Chosen Elements (/problems/minimize-the- 32.7% Medium
difference-between-target-and-chosen-elements)

2006 Count Number of Pairs With Absolute Difference K (/problems/count-number-of-pairs-with- 82.7% Easy
absolute-difference-k)

1998 GCD Sort of an Array (/problems/gcd-sort-of-an-array) 45.6% Hard

2012 Sum of Beauty in the Array (/problems/sum-of-beauty-in-the-array) 46.0% Medium

2028 Find Missing Observations (/problems/find-missing-observations) 42.2% Medium

2053 Kth Distinct String in an Array (/problems/kth-distinct-string-in-an-array) 72.7% Easy

2075 Decode the Slanted Ciphertext (/problems/decode-the-slanted-ciphertext) 49.8% Medium

2109 Adding Spaces to a String (/problems/adding-spaces-to-a-string) 56.1% Medium

2145 Count the Hidden Sequences (/problems/count-the-hidden-sequences) 35.4% Medium

2123 Minimum Operations to Remove Adjacent Ones in Matrix (/problems/minimum-operations-to- 40.9% Hard
remove-adjacent-ones-in-matrix) 

2160 Minimum Sum of Four Digit Number After Splitting Digits (/problems/minimum-sum-of-four- 88.1% Easy
digit-number-after-splitting-digits)

2161 Partition Array According to Given Pivot (/problems/partition-array-according-to-given-pivot) 82.7% Medium

2149 Rearrange Array Elements by Sign (/problems/rearrange-array-elements-by-sign) 82.1% Medium

2195 Append K Integers With Minimal Sum (/problems/append-k-integers-with-minimal-sum) 23.1% Medium

2197 Replace Non-Coprime Numbers in Array (/problems/replace-non-coprime-numbers-in-array) 35.8% Hard

2207 Maximize Number of Subsequences in a String (/problems/maximize-number-of-subsequences-in- 31.2% Medium


a-string)

2173 Longest Winning Streak (/problems/longest-winning-streak)  52.9% Hard

2223 Sum of Scores of Built Strings (/problems/sum-of-scores-of-built-strings) 33.7% Hard

2250 Count Number of Rectangles Containing Each Point (/problems/count-number-of-rectangles- 31.6% Medium
containing-each-point)

2261 K Divisible Elements Subarrays (/problems/k-divisible-elements-subarrays) 45.4% Medium

https://leetcode.com/company/amazon/ 30/31
5/18/22, 5:13 PM Amazon - LeetCode

  # Title Acceptance Difficulty Frequency 

2256 Minimum Average Difference (/problems/minimum-average-difference) 34.6% Medium

2244 Minimum Rounds to Complete All Tasks (/problems/minimum-rounds-to-complete-all-tasks) 54.4% Medium

2219 Maximum Sum Score of Array (/problems/maximum-sum-score-of-array)  65.3% Medium

2228 Users With Two Purchases Within Seven Days (/problems/users-with-two-purchases-within-seven- 46.6% Medium
days) 

2238 Number of Times a Driver Was a Passenger (/problems/number-of-times-a-driver-was-a- 78.9% Medium


passenger) 

Copyright © 2022 LeetCode

Help Center (/support) Jobs (/jobs) Bug Bounty (/bugbounty) Online Interview (/interview/) Students (/student) Terms (/terms) Privacy Policy (/privacy)

United States (/region)

https://leetcode.com/company/amazon/ 31/31

You might also like