Amazon
Challenges: 27Easy: 6Medium: 15Hard: 6
This Amazon coding interview set pulls together 27 challenges, with a mix of 6 easy, 15 medium, 6 hard. The problems lean on arrays, sliding-window, bfs, trees, dynamic-programming, so you can drill the patterns that come up most and walk into the interview ready.
Topics this company tests
Amazon coding challenges
Best Time to Buy and Sell Stock
Difficulty: EasyTopics: arrays, sliding-windowBinary Tree Level Order Traversal
Difficulty: MediumTopics: bfs, treesCache Invalidation Planner
Difficulty: HardTopics: dynamic-programming, graphs, topological-sortContainer With Most Water
Difficulty: MediumTopics: arrays, two-pointersContains Duplicate
Difficulty: EasyTopics: arrays, hashingCyclic Dependency Detector
Difficulty: MediumTopics: dfs, graphs, topological-sortGroup Anagrams
Difficulty: MediumTopics: hashing, stringsLongest Increasing Subsequence
Difficulty: HardTopics: arrays, binary-search, dynamic-programmingLongest Substring Without Repeating Characters
Difficulty: MediumTopics: hashing, sliding-window, stringsMaximum Depth of Binary Tree
Difficulty: MediumTopics: bfs, recursion, treesMaximum Subarray
Difficulty: MediumTopics: arrays, dynamic-programmingMeeting Room Scheduler
Difficulty: MediumTopics: heaps, intervals, sortingMerge K Sorted Lists
Difficulty: HardTopics: divide-and-conquer, heap, linked-listsMerge Two Sorted Lists
Difficulty: EasyTopics: linked-listsMin Stack
Difficulty: MediumTopics: design, stacksMulti Tenant Quota Enforcer
Difficulty: MediumTopics: hash-map, simulationProduct of Array Except Self
Difficulty: MediumTopics: arraysRetry Backoff Scheduler
Difficulty: MediumTopics: math, simulationReverse Linked List
Difficulty: EasyTopics: linked-listsThree Sum
Difficulty: MediumTopics: arrays, sorting, two-pointersTrapping Rain Water
Difficulty: HardTopics: arrays, stacks, two-pointersTwo Sum
Difficulty: EasyTopics: arrays, hashingValid Parentheses
Difficulty: EasyTopics: stacks, stringsValidate Binary Search Tree
Difficulty: MediumTopics: binary-search, recursion, treesWallet Reconciliation
Difficulty: HardTopics: data-integrity, hash-mapWarehouse Slot Packing
Difficulty: MediumTopics: greedy, sorting, two-pointersWord Break
Difficulty: HardTopics: dynamic-programming, strings
Ready to practice for real?
Work through coding challenges like the ones Amazon asks, run your code, and check your solution against real test cases.
Practice coding challenges, start free