Big Tech

Amazon interview questions

Grouped by topic, sorted Easy → Medium → Hard, then by LeetCode ID. Click a problem to open it on LeetCode; the chapter column links to the handbook chapter that covers it.

Problems
50
Easy
11
Medium
34
Hard
5
Mapped to chapter
22

Array

28 problems

Easy 3

#TitleDifficultyAlso atChapter
219Contains Duplicate IIalso at:GoogleMetaMicrosoft Also at 6 moreNetflixAdobeAirbnbArista NetworksBloombergPalantir Easy
2006Count Number of Pairs With Absolute Difference KEasy
3637Trionic Array Ialso at:GoogleMeta Easy

Medium 20

#TitleDifficultyAlso atChapter
34Find First and Last Position of Element in Sorted Arrayalso at:AppleByteDanceGoogle Also at 10 moreMetaMicrosoftAirtelAtlassianBloombergInstacartLinkedInNianticPayPalWise Medium
49Group Anagramsalso at:AppleCiscoDell Also at 36 moreeBayGoogleMetaMicrosoftNVIDIATeslaAdobeAtlassianAutodeskBloombergCitadelDocuSignDoorDashExpediaFreshworksGoldman SachsIntuitJioJPMorganMorgan StanleyMyntraNianticOktaPayPalPhonePeSalesforceSAPSnapTargetToastTwilioVMwareWalmart Global TechWayfairYelpZoho MediumChapter
189Rotate Arrayalso at:AppleeBayGoogle Also at 6 moreMetaMicrosoftNetflixBloombergJioRazorpay MediumChapter
200Number of Islands also at:AMDAppleByteDance Also at 43 moreCiscoeBayGoogleIntelMetaMicrosoftQualcommTeslaAdobeAutodeskBloombergCapital OneCitadelCloudflareCREDCrowdStrikeDocuSignDoorDashDropboxFlipkartGoldman SachsIntuitLinkedInLyftMeeshoOktaOlaPayPalPhonePePinterestRedditSAPSnapSplunkSpotifyTargetToastUberUrban CompanyVMwareWalmart Global TechZohoZomato MediumChapter
435Non-overlapping Intervals also at:GoogleMetaBloomberg Also at 1 moreInstacart MediumChapter
523Continuous Subarray Sumalso at:ByteDanceMetaMicrosoft Also at 4 moreBloombergChimePhonePeSwiggy MediumChapter
658Find K Closest Elementsalso at:eBayGoogleMicrosoft Also at 6 moreAtlassianDiscordDoorDashFlipkartLINESamsara Medium
713Subarray Product Less Than Kalso at:AppleGoogleMeta Also at 4 moreAirbnbBloombergWalmart Global TechWise Medium
735Asteroid Collisionalso at:ByteDanceeBayGoogle Also at 15 moreMetaMicrosoftBloombergCitadelDoorDashDream11FlipkartJuspayLyftMeeshoMyntraNaviOpenAIPayPalPhonePe Medium
931Minimum Falling Path Sumalso at:AppleGoogleDream11 Also at 1 moreIntuit MediumChapter
983Minimum Cost For Ticketsalso at:GoogleBloombergGroww Also at 2 moreIntuitSnap MediumChapter
990Satisfiability of Equality EquationsMediumChapter
1219Path with Maximum Goldalso at:Salesforce MediumChapter
1268Search Suggestions Systemalso at:MicrosoftAtlassianCitadel Also at 7 moreDocuSignDoorDashMeeshoPayPalRakutenSnapTwo Sigma MediumChapter
1472Design Browser Historyalso at:BloombergChimeDoorDash Also at 4 moreGoldman SachsRobloxSnapSnowflake MediumChapter
1574Shortest Subarray to be Removed to Make Array Sortedalso at:Razorpay Medium
1679Max Number of K-Sum PairsMedium
1975Maximum Matrix Sumalso at:GoogleMetaBloomberg Medium
2101Detonate the Maximum Bombsalso at:Chime Medium
3212Count Submatrices With Equal Frequency of X and YMedium

Hash Table

5 problems

Easy 1

#TitleDifficultyAlso atChapter
141Linked List Cycle also at:CiscoeBayGoogle Also at 11 moreMetaMicrosoftQualcommAdobeAutodeskBloombergCars24CoinDCXGrowwSAPVMware EasyChapter

Math

4 problems

Easy 3

#TitleDifficultyAlso atChapter
69Sqrt(x)also at:GoogleMetaMicrosoft Also at 4 moreBloombergCitadelGoldman SachsLyft Easy
258Add Digitsalso at:GoogleMetaAdobe Also at 1 moreVisa Easy
415Add Stringsalso at:ByteDanceGoogleMeta Also at 6 moreAdobeAirbnbBloombergJane StreetVisaWayfair Easy

Medium 1

#TitleDifficultyAlso atChapter
1680Concatenation of Consecutive Binary Numbersalso at:GoogleBloomberg Medium

String

3 problems

Tree

3 problems

Easy 1

#TitleDifficultyAlso atChapter
226Invert Binary Treealso at:GoogleMetaBloomberg Also at 2 moreOlaVMware Easy

Medium 2

#TitleDifficultyAlso atChapter
199Binary Tree Right Side Viewalso at:ByteDanceeBayGoogle Also at 6 moreMetaMicrosoftAdobeOlaSamsaraVMware MediumChapter
2583Kth Largest Sum in a Binary TreeMedium

Misc

7 problems

Easy 3

#TitleDifficultyAlso atChapter
844Backspace String Comparealso at:GoogleWayfair Easy
1729Find Followers Countalso at:GoogleTesla Easy
2667Create Hello World Functionalso at:GoogleMicrosoftBloomberg Easy