Amazon
Every interview weaves in the Leadership Principles — expect a behavioral question in each round, with follow-ups that dig for data and ownership.
Typical loop
- 1Recruiter screen
- 2Online assessment: two coding problems plus a work simulation
- 3Phone screen
- 4Onsite loop: 4-5 rounds pairing coding or design with Leadership Principles
- 5Bar raiser round
Questions
Callback's practice questions and the LeetCode questions Amazon has been asking, filtered together.
Asked on LeetCode
2,011 questions · all time
- Network Recovery PathwayshardArrayBinary SearchDynamic ProgrammingGraph Theory+3frequency 10.3
- Number of Adjacent Elements With the Same ColormediumArrayfrequency 10.3
- Number of Good Ways to Split a StringmediumHash TableStringDynamic ProgrammingBit Manipulation+1frequency 10.3
- Number of Islands IIhardArrayHash TableUnion-Findfrequency 10.3
- Number of Pairs of Interchangeable RectanglesmediumArrayHash TableMathCounting+1frequency 10.3
- Number of Segments in a StringeasyStringfrequency 10.3
- Number of Strings That Appear as Substrings in WordeasyArrayStringfrequency 10.3
- Number of Ways to Paint N × 3 GridhardDynamic ProgrammingGraph Coloringfrequency 10.3
- Numbers With Same Consecutive DifferencesmediumBacktrackingBreadth-First Searchfrequency 10.3
- Paint HousemediumArrayDynamic Programmingfrequency 10.3
- Painting the WallshardArrayDynamic Programmingfrequency 10.3
- Palindrome PairshardArrayHash TableStringTrie+1frequency 10.3
- Pancake SortingmediumArrayTwo PointersGreedySortingfrequency 10.3
- Partition Array Into Three Parts With Equal SumeasyArrayGreedyfrequency 10.3
- Product of the Last K NumbersmediumArrayMathDesignData Stream+1frequency 10.3
- Queue Reconstruction by HeightmediumArrayBinary Indexed TreeSegment TreeSortingfrequency 10.3
- Range ModulehardDesignSegment TreeOrdered Setfrequency 10.3
- Range Sum Query 2D - MutablemediumArrayDesignBinary Indexed TreeSegment Tree+2frequency 10.3
- Rearrange Array to Maximize Prefix ScoremediumArrayGreedySortingPrefix Sumfrequency 10.3
- Rearranging FruitshardArrayHash TableGreedySortfrequency 10.3
- Rectangle AreamediumMathGeometryfrequency 10.3
- Rectangle OverlapeasyMathGeometryfrequency 10.3
- Remove BoxeshardArrayDynamic ProgrammingMemoizationfrequency 10.3
- Remove One Element to Make the Array Strictly IncreasingeasyArrayfrequency 10.3
- Repeated String MatchmediumStringString MatchingZ AlgorithmKnuth–Morris–Pratt Algorithm+1frequency 10.3
- Reshape the MatrixeasyArrayMatrixSimulationfrequency 10.3
- Robot Room CleanerhardBacktrackingInteractivefrequency 10.3
- Rotated DigitsmediumMathDynamic Programmingfrequency 10.3
- Satisfiability of Equality EquationsmediumArrayStringUnion-FindGraph Theoryfrequency 10.3
- Shifting Letters IImediumArrayStringPrefix Sumfrequency 10.3
- Shortest Distance to a CharactereasyArrayTwo PointersStringfrequency 10.3
- Shortest Path Visiting All NodeshardDynamic ProgrammingBit ManipulationBreadth-First SearchGraph Theory+1frequency 10.3
- Sliding Subarray BeautymediumArrayHash TableSliding Windowfrequency 10.3
- Smallest Integer Divisible by KmediumHash TableMathPigeonhole Principlefrequency 10.3
- Smallest Missing Integer Greater Than Sequential Prefix SumeasyArrayHash TableSortingfrequency 10.3
- Smallest Palindromic Rearrangement ImediumStringSortingCounting Sortfrequency 10.3
- Smallest Range IImediumArrayMathGreedySortingfrequency 10.3
- Smallest String Starting From LeafmediumStringBacktrackingTreeDepth-First Search+1frequency 10.3
- Sort Byeasyfrequency 10.3
- Sort Integers by The Number of 1 BitseasyArrayBit ManipulationSortingCountingfrequency 10.3
- Sort Matrix by DiagonalsmediumArraySortingMatrixfrequency 10.3
- Sorted GCD Pair QuerieshardArrayHash TableMathBinary Search+6frequency 10.3
- Split Array With Same AveragehardArrayHash TableMathDynamic Programming+3frequency 10.3
- Substrings of Size Three with Distinct CharacterseasyHash TableStringSliding WindowCountingfrequency 10.3
- Sum of DistancesmediumArrayHash TablePrefix Sumfrequency 10.3
- Super PowmediumMathDivide and ConquerEuler's Totient FunctionEuler's Theoremfrequency 10.3
- Super Ugly NumbermediumArrayMathDynamic Programmingfrequency 10.3
- Swap Sex of EmployeeseasyDatabasefrequency 10.3
- Task Scheduler IImediumArrayHash TableSimulationfrequency 10.3
- Teemo AttackingeasyArraySimulationfrequency 10.3