Updated: June 4, 2026
The Amazon Online Assessment (OA) is Amazon's pre-employment screening test for Software Development Engineer candidates. Depending on the role, it can include coding challenges, work simulations, system design exercises, and work style assessments.
Many candidates focus their OA preparation almost entirely on coding. That's a mistake.
While coding is an important part of the Amazon OA, it's only one piece of the puzzle. You'll also need to make sound engineering decisions, prioritize competing tasks, and demonstrate the work style Amazon looks for in its software engineers.
Our Amazon SDE OA PrepPack helps you prepare you for every part of the assessment with:
30 days of access to:
24/7 Customer
Service
One-Time
Payment
Developed by
Experts
Our Amazon SDE OA PrepPack is designed to help you prepare for every part of the assessment, from Coding Questions and System Design to Work Simulation and Work Style Assessments.
The package combines realistic practice tests, detailed explanations, and role-specific preparation for Intern, SDE I, and SDE II candidates.
Always up to date: Amazon regularly updates its hiring process and assessment formats. We continuously review official Amazon resources, candidate reports, and customer feedback to ensure our preparation materials remain relevant and aligned with the latest version of the Amazon OA.
"I'd spent most of my prep time on LeetCode. The PrepPack gave me a much better understanding of the overall assessment and helped me feel more confident going into test day."
Jason H., SDE I Candidate
"The Work Simulation practice was surprisingly helpful. It gave me a much clearer idea of the kinds of decisions Amazon expects engineers to make."
Sal G., Amazon Intern Applicant
"The real value wasn't memorizing questions. It was learning how each section works and what Amazon is actually evaluating."
Ferha I., SDE II Candidate
"The practice materials helped me understand the Work Simulation and Work Style sections, which I probably would have ignored otherwise."
Arjun P., SDE OA Candidate
For more than 25 years, JobTestPrep has helped candidates prepare for hiring assessments used by employers around the world. Our preparation materials are developed by assessment experts, reviewed regularly, and updated to reflect changes in real hiring processes.
Our goal is simple: provide realistic practice that helps candidates understand what to expect and prepare with confidence.
David Meshulam is the founder of JobTestPrep and has worked in the field of assessment preparation since 1992. Under his leadership, JobTestPrep has helped millions of candidates prepare for aptitude tests, personality assessments, interviews, and job-specific hiring processes.
For questions, feel free to reach out to David via:
The exact structure of the Amazon OA varies by role, but most SDE candidates can expect a combination of coding, work simulation, system design, and work style assessments.
Here's a quick breakdown by role:
| Role | Coding | Work Simulation | System Design | Work Style |
| Intern | ✓ | – | – | ✓ |
| SDE I | ✓ | ✓ | – | ✓ |
| SDE II | ✓ | – | ✓ | ✓ |
Each section measures a different skill set and requires a different preparation strategy. Use the links below to jump directly to the section you want to learn more about, including sample questions, scoring criteria, and practice resources.
The Coding Assessment is the most technical part of the Amazon Online Assessment. Regardless of the role, you'll be asked to solve two coding questions in an online coding environment using the programming language of your choice.
The exact format depends on the role you're applying for:
| Role | Coding Questions | Time Limit |
| Intern | 2 | 70 |
| SDE I | 2 | 70 |
| SDE II | 2 | 90 |
Not all Amazon OA Coding Assessments are the same. Use the tabs below to see what to expect for your role.
For Intern and SDE I candidates, the Amazon Coding Assessment focuses on core programming skills, data structures, algorithms, and problem-solving ability.
Amazon uses this assessment to evaluate how effectively you can solve technical challenges while writing correct, readable, and efficient code. In addition to arriving at the right answer, your solution should be easy to understand, maintain, and explain. On top of that, candidates are expected to write, test, and debug their solutions within the time limit (70 minutes).
The Coding Assessment typically covers data structures and algorithms commonly used in technical interviews. While the exact questions vary, candidates frequently encounter problems involving:
Note: you can complete the assessment in several programming languages, including C, C++, C#, Go, Java, JavaScript, Kotlin, Objective-C, Python, Ruby, Scala, and Swift.
Because the assessment focuses on problem-solving rather than language-specific expertise, it is generally best to use the language you know most well.
A conveyor belt scanner produces a sequence of SKU IDs. A priority restock request requires certain minimum quantities of some SKUs.
Given the scanned sequence and the required quantities, find the length of the smallest contiguous window that contains at least the required quantity of every requested SKU. If no such window exists, return -1.
Input format
Output format
Print one integer: the minimum valid window length, or -1 if no valid window exists.
Constraints
Sample input
8
5 1 2 1 3 2 1 4
3
1 2
2 1
3 1
Sample output
4
Explanation
The smallest valid window is [1, 3, 2, 1], which contains:
No shorter contiguous window satisfies all requirements.
Sample input
5
7 7 2 7 8
2
7 2
9 1
Sample output
-1
Hints
Step-by-step solution
This is a classic variable-size sliding-window problem over an array.
Create a hash map need that stores the required count for each SKU. Then move a right pointer across the array and maintain a second hash map have for the current window.
Every time you add a SKU to the window:
Let formed be the number of required SKU types that are currently satisfied. Let target be the total number of distinct required SKU types.
Whenever formed == target, the current window is valid. At that point, try to shrink it from the left as much as possible while keeping it valid:
Because each element enters and leaves the window at most once, the whole algorithm is linear.
What Amazon is evaluating
| Criterion | What strong performance looks like |
| Correctness | Correctly returns the minimum window, not just any valid window. |
| Efficiency | Uses a linear sliding-window solution rather than checking all subarrays. |
| Data-structure choice | Uses hash maps cleanly for need and have. |
| Readability | Clear variable names such as need, have, formed, left, right. |
| Edge cases | Handles impossible requests, repeated SKUs, and windows at the beginning or end. |
The Amazon SDE II Coding Assessment is designed for experienced software engineers and places greater emphasis on optimization, technical decision-making, and code quality than the assessments used for Intern and SDE I candidates.
While the coding questions are generally more challenging, the biggest difference is not necessarily the difficulty of the algorithm itself. Amazon also evaluates how well you justify your decisions, optimize your solution, and balance efficiency with maintainability.
According to Amazon's engineering team, successful candidates are evaluated across five key areas:
| Amazon Evaluates | What It Means |
| Problem Understanding | Can you identify the requirements, constraints, and edge cases? |
| Coding Ability | Can you produce correct, readable, working code? |
| Data Structure Selection | Did you choose the most appropriate tool for the problem? |
| Runtime Complexity | Can you analyze and optimize your solution when necessary? |
| Simplicity | Is your solution easy to understand, maintain, and explain? |
Note: One of the biggest misconceptions about the SDE II Coding Assessment is that the most complex solution is always the best one. In practice, Amazon often prefers solutions that are clear, efficient, and easy to justify over implementations that are unnecessarily complicated.
A practical way to approach coding questions is to work through them systematically:
Following a structured process can help you avoid common mistakes and make better use of the limited time available during the assessment.
Candidates can choose from a wide range of programming languages, including C, C++, C# , Go, Java, JavaScript, Kotlin, Objective-C, Python, Ruby, Scala, and Swift. As with other Amazon coding assessments, using the language you are most comfortable with is usually the best strategy.
You must deliver packages to n fulfilment centres in fixed route order. Centre i requires orders[i] packages and has a flag fragile[i]:
You may use at most m trucks.
Each truck must serve one contiguous block of centres. If a truck serves only normal centres, it can carry up to C packages. If a truck serves at least one fragile centre, then p units of capacity are consumed by special packaging, so it can carry only C - p packages of actual orders on that block.
Find the minimum integer capacity C that allows all centres to be served using at most m trucks.
Input format
Output format
Print one integer: the minimum feasible capacity C.
Constraints
Sample input
5 2 3
4 2 6 3 5
0 1 0 0 1
Sample output
15
Explanation
If C = 15, then any truck that touches a fragile centre can carry up to 12 actual orders.
A valid split is:
So 15 works.
If C = 14, then any truck touching a fragile centre can carry only 11, and no 2-truck partition works.
Sample input
4 3 5
7 2 4 9
0 0 0 0
Sample output
9
Hints
Step-by-step solution
This is an optimisation problem with a monotonic answer.
If a truck capacity C is enough, then any larger capacity is also enough. That means we can binary-search the minimum feasible C.
The main task is the feasibility check. For a fixed C, scan centres from left to right and build the current truck’s block greedily:
If current_sum + orders[i] <= limit, then add centre i to the current truck. Otherwise, close the current truck and start a new one at centre i.
Before binary search even proceeds, note the obvious impossible cases for a fixed C:
The greedy check is correct because the route order is fixed, all weights are positive, and using the longest valid prefix for each truck minimises the number of trucks needed for that C.
What Amazon is evaluating
| Criterion | What strong performance looks like |
| Correctness | Defines the feasibility rule correctly even when the first fragile centre changes a truck’s effective limit. |
| Efficiency | Uses binary search plus a linear feasibility pass, not quadratic partition DP. |
| Trade-off reasoning | Explains why monotonicity holds and why greedy packing is optimal for a fixed C. |
| Readability | Separates feasible() from the outer binary search and uses meaningful names. |
| Edge cases | Handles p = 0, all-fragile arrays, single-centre impossibility, and 64-bit sums safely. |
Strong coding skills are important, but they won't prepare you for the Work Simulation, System Design, and Work Style sections that many candidates overlook.
Our Amazon SDE OA PrepPack provides comprehensive preparation for every stage of the assessment, including coding challenges with step-by-step explanations, realistic workplace scenarios, and Leadership Principles training.
Looking for even more coding practice? Amazon's official Coding Challenge training environment can be excellent supplementary resources alongside your Amazon OA preparation.
The Amazon Work Simulation places you in the role of a Software Development Engineer and asks you to work through a series of realistic workplace situations.
Rather than solving coding problems, you'll navigate project-related challenges, review information from different sources, and decide how to respond to requests from colleagues, managers, and stakeholders. The goal is to assess how you approach decisions and prioritize work in an Amazon engineering environment.
Throughout the assessment, you'll receive information gradually and may need to consult multiple resources before deciding how to respond. Some scenarios involve competing priorities, while others require balancing customer needs, technical considerations, and project deadlines.
In this example, you've just received an e-mail:
"Hi,
Thank you for joining us for this project. Our team’s responsibility is to develop the first version of the product for the messaging system. We have the following requirements from the product manager:
I would appreciate hearing about the actions you think would be appropriate in order to comply with the requirements..
Seo-jun"
Based on all of the information received, rate each approach for its effectiveness.
1 = Extremely Effective
2 = Very Effective
3 = Moderately Effective
4 = Slightly Effective
5 = Not at all Effective
For a walkthrough of this question and an answer explanation, please take a look at the following video:
Because the assessment is designed around situations that software engineers regularly encounter, many candidates describe it as the closest thing to experiencing a typical day on the job before joining the company.
Many candidates focus entirely on coding and underestimate the Work Simulation section. The challenge isn't technical difficulty—it's knowing how to prioritize competing tasks, evaluate information, and make decisions that align with Amazon's Leadership Principles.
Our Amazon SDE OA PrepPack includes realistic Work Simulation scenarios, detailed answer explanations, and role-specific practice designed to mirror the format used in the real assessment. You'll learn how Amazon evaluates your decisions and gain confidence navigating the workplace situations that Software Development Engineers encounter during the OA.
The Amazon Work Style Assessment is an untimed personality assessment that measures how closely your workplace preferences align with Amazon's culture and Leadership Principles.
Unlike the Coding Assessment, there are no technical questions. Instead, you'll be presented with statements and workplace scenarios designed to evaluate how you make decisions, collaborate with others, handle challenges, and approach your work.
Your responses help Amazon determine whether your natural work style is a good fit for the expectations placed on Software Development Engineers.
The Amazon Work Style Assessment for SDE candidates consists of two separate surveys:
When you're brought into a project midway through, which of the following methods are you most inclined to take?
The strongest response is usually "Consult with end-users on a regular basis to ensure that product requirements are fully understood."
Here's how Amazon is likely to view each option:
Consult with end-users on a regular basis to ensure that product requirements are fully understood.
This response demonstrates a strong focus on the customer and the overall purpose of the project. Rather than immediately jumping into tasks, you first make sure you understand the needs of the people who will ultimately use the product. This aligns closely with Amazon's Customer Obsession principle and shows a commitment to making informed decisions that deliver meaningful results.
Create my own project plan so that I'm able to comprehend the next steps.
This answer reflects initiative and ownership. By creating a plan, you take responsibility for understanding the project's status and determining how to contribute effectively. While this is a strong response, it is slightly less aligned with Amazon's priorities than the customer-focused option because it focuses on internal organization rather than customer impact.
Look for areas where my personal abilities may contribute value to the process.
This response shows confidence and a willingness to contribute. However, it places the emphasis on your own strengths before fully understanding the project's goals, requirements, or customer needs. Amazon generally prefers employees to first understand the broader context before deciding how their individual skills can best be applied.
To catch up, complete as much work as you can on your own.
This option demonstrates urgency and a desire to make progress, which can be positive. However, it also carries the risk of moving forward without fully understanding the project's objectives, stakeholder expectations, or customer requirements. Amazon values speed, but it also emphasizes making informed decisions and working toward the right outcomes, not simply completing tasks as quickly as possible.
What Amazon Is Evaluating: Customer Obsession, Ownership, Earn Trust, and Deliver Results.
Which statement is more like you, and to what extent?
Questions like this are not designed to test technical ability. Instead, Amazon uses them to identify consistent workplace preferences and behavioral tendencies.
In this example, neither statement is inherently "correct." The assessment is evaluating how strongly you identify with each statement and whether your responses remain consistent throughout the survey.
Candidates who try to guess the "right" answer often create contradictory response patterns. A better approach is to understand Amazon's Leadership Principles and answer honestly while remaining mindful of the traits Amazon values, such as ownership, curiosity, customer focus, and accountability.
What Amazon Is Evaluating: Behavioral consistency, self-awareness, and alignment with Amazon's Leadership Principles.
Many candidates approach the Work Style Assessment by trying to pick the "perfect" answer. The challenge is that Amazon evaluates patterns and consistency across your responses, not individual questions in isolation.
Our Amazon SDE OA PrepPack includes realistic Work Style practice tests, detailed answer explanations, and guidance on Amazon's Leadership Principles so you can understand the logic behind the assessment before test day.
The System Design Assessment is unique to the Amazon OA for SDE II candidates. Unlike the Coding Challenge, which focuses on algorithms and data structures, this section evaluates how you approach larger engineering problems and make technical trade-off decisions.
During this part of the assessment, you'll be presented with realistic engineering scenarios and asked to evaluate potential solutions. Rather than writing code, you'll need to demonstrate sound architectural thinking and an understanding of scalability, reliability, and maintainability.
All System Design questions are multiple-choice and this part of the OA takes about 15 to 20 minutes.
Common topics include, but are not limited to:
Tip: You don't need to design an entire distributed system from scratch. Focus on understanding the strengths, weaknesses, and trade-offs of common architectural patterns. Most questions are designed to assess decision-making rather than memorization.
The decision-making skills assessed in Amazon's SDE II System Design section are integrated throughout our Work Simulation practice tests, helping you build confidence before test day.
The Amazon Online Assessment (OA) is a pre-employment assessment used to evaluate Software Development Engineer candidates before the interview stage.
The exact format depends on the role. Intern and SDE I candidates typically complete a Coding Assessment, Work Simulation, and Work Style Assessment. SDE II candidates complete a Coding Assessment, System Design Assessment, and Work Style Assessment.
The purpose of the OA is to evaluate not only your coding ability, but also your decision-making, problem-solving approach, and alignment with Amazon's Leadership Principles.
No. While all candidates complete a coding assessment, the overall structure varies by role. For example, SDE II candidates complete a System Design Assessment, while Intern and SDE I candidates complete a Work Simulation. The time limits and assessment components may also differ.
The difficulty varies by role and assessment version. Intern and SDE I candidates typically encounter questions covering common data structures and algorithms, while SDE II candidates can expect a stronger focus on optimization, scalability, and engineering judgment. Many candidates compare the coding questions to medium-level technical interview problems.
In most cases, you should select the programming language you are most comfortable using. Amazon evaluates your problem-solving ability and code quality rather than your knowledge of a specific language.
For Intern and SDE I coding assessments, Amazon allows candidates to access publicly available programming references and documentation. However, private repositories, collaboration tools, and resources that require login credentials are not permitted. Browser activity may be monitored during the assessment.
Amazon's Online Assessment is monitored, although the exact level of proctoring can vary by assessment and role. Candidates should assume that assessment activity may be tracked and should follow all instructions provided by Amazon.
During coding assessments, Amazon may permit the use of publicly available programming references while prohibiting private repositories, collaboration tools, and other unauthorized resources.
The safest approach is to complete the assessment independently and rely only on resources that Amazon explicitly allows.
You can take a break after the coding challenge and before you advance to the Work Simulation and Work Style Survey sections.
You don’t need to log out to take a quick break. If, for some reason, you do need to log out, you can click on the ‘Start My Assessment’ link to log back in.
There is no fixed timeline. Some candidates receive updates within days, while others may wait several weeks. Response times can vary depending on the role, hiring team, recruiter availability, and current hiring needs.
Candidates who successfully pass the Online Assessment are typically invited to one or more technical interviews. Depending on the role, these interviews may include coding exercises, system design discussions, and behavioral questions based on Amazon's Leadership Principles.
No. Amazon evaluates multiple parts of the Online Assessment, including coding performance, Work Simulation results, System Design performance (for SDE II candidates), and Work Style Assessment results. Passing all coding test cases improves your chances, but it does not automatically guarantee progression to the next stage.
Money Back Guarantee
Since 1992, JobTestPrep has stood for true-to-original online test and assessment center preparation. Our decades of experience make us a leading international provider of test training. Over one million customers have already used our products to prepare professionally for their recruitment tests.