Amazon Screen Interview Experience - L5

Experience
3 years
Posted
1 Oct 2026
135 reads

Summary

I completed a 1-hour Amazon screen interview that included introductions, three leadership-principle behavioral questions, and a technical parking-garage problem.

How it went

YOE: 3years. I recently interviewed with Amazon. The interview was 1 hour divided into three parts:

  1. Introductions The interviewer started by introducing herself, then asked me to introduce myself and briefly describe my background and experience.

  2. Leadership Principles She asked three behavioral questions related to Amazon’s Leadership Principles (LPs), focusing on my past work experience. (Delivering under a tight deadline, Taking ownership beyond your direct scope...)

  3. Technical Question The technical portion involved a parking garage problem - similar to this question.

Technical question: Parking Garage

You manage a row of N parking spaces, numbered from 0 to N - 1. Cars come in three sizes:

  • Small: requires 1 space.
  • Medium: requires 2 consecutive spaces.
  • Large: requires 3 consecutive spaces.

Implement two operations:

  • park(size): Assign the leftmost available consecutive spaces and return the starting position. Return -1 if no suitable spaces are available.
  • leave(start, size): Free the spaces occupied by that car.

My first solution used a vector<bool> to track occupied spaces. My second approach used a map.

Questions asked (1)

  1. 01

    Parking Garage

    Data Structures & Algorithms

    You manage a row of N parking spaces, numbered from 0 to N-1. Cars can be small (1 space), medium (2 consecutive spaces), or large (3 consecutive spaces). Implement park(size) to assign the leftmost available consecutive spaces and return the starting index or -1 if none, and leave(start, size) to free the occupied spaces.

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Amazon recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!