Skip to main content

Practice in the browser

Amazon coding interview problems

Amazon pairs practical data-structure problems with its leadership-principle behavioural bar. Graph and BFS questions, stacks, and clean two-pointer work are common, and clear reasoning is rewarded.

Commonly emphasisedBFS and gridsStacksHash maps

These problems commonly appear in Amazon coding interviews based on widely shared public reports. They are not an official list and not leaked questions, and interview content varies by team and level. Use the set to focus your practice on the patterns Amazon tends to favour, then solve each one in the live editor.

Frequently asked questions

Are these the exact questions Amazon asks?
No. These are problems that commonly appear in Amazon coding interviews as reported across public community sources, chosen to match the patterns Amazon tends to favour. Interview content varies by team, role, and time, so treat this as a focused practice set rather than a question leak.
How should I practise these?
Open each problem, attempt it cold for twenty to thirty minutes, and run it against the test cases. If you get stuck, work out the optimal approach, then close the editor and re-solve from scratch the next day. Being able to reproduce a solution unaided is what carries into the interview.
Which language should I use?
Use the language you will interview in. The editor runs JavaScript, TypeScript, and Python in your browser, and Java, C, and C++ in a sandbox, so you can rehearse in your real stack.

Keep going