What they ask
The AI-assisted problem in Amazon's OA is a code repository. It gets 60 of the 100 minutes. You get a small web app that mostly works, a README that states its API contract, about six failing tests and a short ticket naming two to four broken behaviours. A few versions ask you to implement one or two small features instead. It opens in a VS Code-style browser IDE on HackerRank, in a stack you pick before you start, and one candidate said you cannot switch once you have picked.
A handler skips validation, so a missing field returns a 500 instead of a 400, or a lookup has no existence check and an unknown id is accepted when it should get a 404. A record changes in memory and is never saved, so the response looks right and the next request shows nothing changed. An id is compared against the wrong type and a duplicate check never fires. A search is case-sensitive or sorts the wrong way. A route sits on the wrong path, and its test fails before any handler runs.
The app around the bugs changes. The one we saw most is a movie database with watch lists: add a movie, remove a movie, search the catalog, six tests. Others got a movie-review backend in Node or a car rental app whose "my cars" page shows other people's cars. Some tickets leave a bug out. Candidates who fixed what the ticket named and then read the remaining failing test found a sixth defect nobody had mentioned.
What decides it
Read "an AI coding assistant in a code repository environment" in Amazon's OA invite and you picture Cursor. This one tells you which file handles a request, explains what a block does and says what a test checks. Ask it for the fix and it usually declines. Nobody has reported it editing a file. One candidate told it exactly what to change. It still would not make the edit. Two others got a hint at the fix, or corrected code for one specific error, by asking a narrow question.
So you do the debugging yourself. For each failing test you look up what the README says the endpoint should do, find the handler that does something else and fix it, then run the tests again.
Then there is the clock. Nearly everyone who struggled ran out of time. Nobody says the bugs were hard. What they say is "not hard, just slow", "finished the first two of six, the rest I never looked at", "zero passed, wasted a referral". That is six tests, each with several sub-checks, in sixty minutes, in a browser IDE you have not used before.
Partial credit is real. Several people who passed four or five of six got the phone screen, and one who passed two of six got an interview invite. One who passed none on the repository task and did fine on the algorithm question was not called back. Do the easy tests first. Leave five minutes at the end for the final run in their sandbox, because a fix that passes in your editor still has to pass there. Several people lost work they had already done.
How we would prepare
Reported stacks in Amazon's OA include Django, Spring Boot, Node, MERN, Flask and C++. Pick the one you can debug without reading documentation. Candidates who picked Spring Boot without daily Spring experience lost most of the hour to the framework and finished two of six tests. One candidate's summary was "spent 45 minutes because I did not know Spring Boot".
Then practice on code you did not write. We would take a small open-source service in your stack, break three of its handlers on purpose, say a missing check, a missing save and a wrong status, and fix them from the failing tests with a timer running. Aim for about ten minutes a bug. Read the README and the test names before you open the code.
When a test fails, read its handler from the top and look for the step that is missing. Nobody has reported an algorithm problem inside the repo. When you ask the assistant, ask where. "Which function handles DELETE on this route" is a question it answers well, and "fix the failing test" is one it usually refuses.
If you have a round like this at another company too, the AI coding interview guide says how theirs differs.
Frequently asked, briefly answered
Does every Amazon OA have the AI coding assistant?
Not yet. The threads come from SDE I, SDE II, new grad and intern packets. But EU intern candidates in July and August 2026 still got two classic questions, and so did a campus intern in India in February. Your invitation email says which you have. If it mentions the code repository, it is the assessment on this page.
Can I use my own AI tool in Amazon's coding assessment?
No. The assistant is built into the assessment, and Amazon's university OA guidance says your browser usage is logged and asks you to avoid copying and pasting. One candidate said that on some harnesses it only sees the file you have selected, so it cannot trace a call across the project for you.
Is there still an algorithm question in the Amazon OA?
Yes, and it got harder. The repository task replaced one of the two classic questions. People who sat it call the one left medium to hard. Reported ones include coordinate compression over segments, a grid problem solved with multi-source BFS plus binary search, and a string merge DP. It gets 40 minutes, and a strong repository task does not rescue a weak score there.
How long are the work simulation and work style survey?
Both follow the coding part. Going by the 2026 invitations people have posted, the work simulation is about 45 minutes long and the work style survey about 6. Amazon's prep page lists the older timings for full-time roles, a 60-minute work simulation and a 15-minute work styles assessment, so go by your invitation.
Practice problems tagged for Amazon
Our Amazon section starts with Movie DB: Watch Lists and Search, built from the variant we saw most. It is a small service with an API.md contract, four tickets and the bugs above, plus one defect that no ticket mentions. To practise the way Amazon runs it, tick Q&A only before you press Start: the assistant answers questions and cannot write code. Browse the catalog without logging in, and sign in when you want to solve one.
If you get through, the interviews after the OA ask Leadership Principle questions, and our behavioral practice asks those out loud.
Had this round recently? Tell us how it went and we will add it here.