Preparing for an interview? Check out Cracking the Coding Interview
Published on

Amazon | SDE1 | Location: Spain | Feb 2024 | OA

Author
  • Shared Anonymously

I applied las week at amazon jobs and got the OA link some days after. Didn't do enough preparation as i didn't expect to pass the initial cv screening that fast.
The first question was about a fruit crushing game that Amazon developed. Where you are allowed to choose two dissimilar fruits and crush them. Each type of fruit is represented as an integer in an array. Given an array fruits of size N, return the minumun possible number of fruits leftt after the given operation is peformed any number of times.
For this question i only passed 3/17 test cases.

The second one was about finding the shortest travel distance required to bring all products from point to point in less than or equal to D.
I gave up half way here.

Then the typical workplace questions.

It was a good experience, but i barely did any prep and it showed.

Can anyone rate the difficulty of these questions and send similar ones in leetcode?

ReportMark as Helpful