Amazon OA Questions 2022: What Candidates Actually Saw

Last updated: May 2026

318+ Amazon online assessment questions reported by candidates who took the OA in 2022. Sourced from 1Point3Acres, LeetCode, Blind, Glassdoor, and Reddit. Data grows as new reports are added.

Amazon OA Format in 2022

The Amazon online assessment has followed a consistent format across multiple hiring cycles. Based on 2022 reports in the database, candidates typically see 2 to 3 algorithmic coding problems delivered through a proctored online platform (most commonly HackerRank). Some roles include additional behavioral or work-simulation components after the coding section.

Time limits reported by candidates range from 70 to 110 minutes for the full assessment. The coding problems are auto-graded, so edge case handling and runtime efficiency both matter. Partial credit is available on some platforms if your solution passes a subset of test cases.

Real Amazon OA Questions from 2022

Amazon OA

dynamic programming leetcode

Given an array consisting of N integer and two number k,d. Task1-From the given array we can choose k consecutive elements one after in array and after that leave an array...

View

Amazon OA

graph leetcode

Got these questions in OA recently. Hope it will help someone. 1.Demolition robot Determine the min distance required for the robot to remove the obstacle Input is given as a 2D array which...

View

Amazon OA

sliding window leetcode

Q1. https://www.chegg.com/homework-help/questions-and-answers/please-help-asap-give-thumbs-quick-python3-q100931587 ans Not test case pass 2. https://www.chegg.com/homework-help/questions-and-answers/amazon-ships-millions-packages-regularly-number-parcels-need-shipped-compute-minimum-possi-q100610929 ans ![image](https://assets.leetcode.com/users/images/05d13505-b19a-43c0-b674-c662ee7edd7b_1661541375.5786812.png) Not test cass pass any help what mistek my code help me

View

Amazon OA

arrays leetcode

given an array of stock prices, find the month at which the net price change is minimum. if there are several such months, return the earliest month. int solve(vector<int>&v){ int n...

View

Amazon OA

hash table leetcode

https://leetcode.com/problems/check-if-array-pairs-are-divisible-by-k/ - storyline was given https://leetcode.com/problems/jewels-and-stones/ - exact same question asked Both the questions were done in 20 mins Seems Amazon\'s OA have become easier to crack nowadays

View

Amazon OA Question

two pointers leetcode

Given n ,c,d and two arrays a and b each of length n count number of pairs satisfying the following condition a[i]-a[j]+c<=b[i]-b[j]+d n<=10^5 //brute force solution int ans=0; for(int i=0;i<n;i++) { for(int j=i+1;j<n;j++) { if(a[i]-b[i]+c<=a[j]-b[j]+d) { ...

View

Amazon Online Assessment

binary search leetcode

The hackers of Hackerland want to deploy their applications on n servers. The ith server has requests[i] requests to serve but can serve a maximum of max req[i] requests only....

View

Amazon | OA

sliding window leetcode

Find number of possible subarrays from an array , where max and min difference of elements in subarray is less than the given limit. input : limit ,array output...

View

Amazon | OA

arrays leetcode

For an array of size n, calculate the sum of power of every subarray. Power of subarray [i, j] is min(i, j) sum(i, j). Sum of power of every subarray in [2,3,2,1]...

View

Amazon | OA

stack leetcode

Q1 : Largest Area in Histogram with one extra constraint in orginal question you included equal heights bars in the area calculation here you had to avoid that Q2 :...

View

Amazon | OA

heap leetcode

I could not pass all the test cases and got TLE. Can someone help with an optimal solution How to practice such kind of questions? EDIT I used priority queue to solve this...

View

Amazon

coding other leetcode

can anyone tell find these in my oa not able to solve

View

Amazon SDE Intern OA

coding other leetcode

Hi , Can anyone share list of OA questions for Amazon SDE Intern position? It would be really beneficial!!

View

Amazon SDE2 Online Assessment

hard sliding window leetcode

Given an array of integers(unsorted) and an integer K, count the number of sub-arrays whose difference between smallest and largest element is less than or equal to K >>>>> I...

View

AMAZON OA QUESTION

coding other leetcode

You are given an array of Integers Arr. You are asked Q queries of two types: 1 i v. change Ith element of Arr to v 2 l r. Determine the count...

View

Amazon OA Help

heap leetcode

I\'ve taken online test for amazon on hacker rank. Could not pass all the test cases for the same. Would like too see what would be the ideal approach for...

View

Amazon SDE 2 OA

easy dynamic programming leetcode

I had 3 rounds in OA 1) Coding Challenge \u2013 this timed section takes 90 minutes, work through two coding problems. on Hackerrank 2) Work Simulation \u2013 typically takes 15 minutes,...

View

Amazon|OA|Max Subarray Sum of size k that has K distinct Elements

sliding window leetcode

Given An Array Of N integers and a Number K return max sum of subarray of size k that has K Distinct Elements. if it does not exist return -1. Test...

View

Amazon SDE 1 - Online Assessment

graph leetcode

There were actually 4 questions in which 2 of them are coding questions and 2 of them are for explaining the approach of the solutions. It was then followed by...

View

Amazon OA reject

easy graph leetcode

Q1) was to sort vector of strings with some conditions to split numeric and word [here strings have space delimiter] Q2) shortest path from src[0,0] to obstacle in 2d grid. ...

View

Topic Breakdown (2022 OA)

Topics reported by candidates who took the Amazon OA in 2022:

system design (35) dynamic programming (34) arrays (33) graph (30) sliding window (19) stack (17) binary tree (14) strings (12)

Difficulty Breakdown (2022 OA)

87

easy

33

hard

10

medium

Difficulty labels are reported by candidates or inferred from LeetCode ratings.

How to Prepare for the Amazon OA

The Amazon OA is a timed, auto-graded coding test. Preparation is different from interview prep: you need to optimize for both correctness and speed, since partial credit requires passing test cases, not just showing reasoning.

  • Practice timed sessions. Set a timer for 35 to 45 minutes per problem and simulate the real constraint.
  • Focus on the topic clusters that appear most in Amazon OA reports: dynamic programming, graphs, arrays, and strings make up the majority of reported problems.
  • Read the problem constraints carefully before writing code. The constraints often reveal the expected time complexity and algorithm type.
  • Use the LeakCode database to review 2022 OA questions from actual candidates. Pattern recognition across multiple sightings is a stronger prep signal than any single mock problem.
  • If the OA includes a work simulation section, practice under realistic conditions. This section tests judgment and values alignment, not coding ability.

FAQ

What does the Amazon OA look like in 2022?

Based on 2022 candidate reports, the Amazon OA typically includes 2 to 3 coding problems and runs 70 to 110 minutes. Topics lean toward dynamic programming, graphs, arrays, and strings. Some roles include a work simulation section after the coding component.

How long is the Amazon OA?

Most candidates report 70 to 90 minutes for the coding component. Roles with additional work simulation sections extend the total time to 110 to 150 minutes. Check your invitation email for the exact time allocation for your specific role.

What platform does Amazon use for the OA?

Amazon uses HackerRank or its own proprietary platform depending on the role and hiring cycle. Your invitation will specify the platform. Both platforms support multiple languages including Python, Java, C++, and JavaScript.

Are these real Amazon OA questions?

Yes. All questions in the LeakCode database come from candidate reports on 1Point3Acres, Blind, Glassdoor, Reddit, and LeetCode. They are not AI-generated. Each question links to its source where available.

Other Amazon OA Years

Related: Amazon OA Hub · Amazon All Questions · All OA Questions · Data Sources