amazon logo
Amazon· SDE-1

Amazon SDE-1 Interview Experience

Result
Offer
Posted
1 Nov 2025
411 reads

Summary

Applied for SDE-1 role at Amazon, had a successful interview with two coding questions and leadership assessment. Received a job offer.

How it went

I was recently interviewed by Amazon—specifically, for SDE-1 on October 31, 2025. I've attached the questions below .

  1. Given an array of integers, temperatures, that represents daily temperatures, return an array, output, where each element, output[i], indicates the number of days you need to wait after the day to experience a warmer temperature if there is no future day with a higher temperature, set output[i] to 0.

    input temp : 30 60 90

    output : 1 1 0

  2. Given a car with an unlimited gas tank and two arrays, `gas` and `cost`, where `cost[i]` is the gas needed to go from station i to i+1, find the starting index in `gas` from which you can complete a full loop, collecting `gas[i]` and spending `cost[i]` at each station. Start with an empty tank. Return -1 if it's not possible; otherwise, return the unique index.

    Example:

    • gas: 1 2 3 4 5

    • cost: 3 4 5 1 2

    • Output: Index 3

  3. Some Leadership questions

Questions asked (2)

  1. 01

    Daily Temperatures

    Data Structures & Algorithms · Medium

    Given an array of integers, temperatures, that represents daily temperatures, return an array, output, where each element, output[i], indicates the number of days you need to wait after the day to experience a warmer temperature if there is no future day with a higher temperature, set output[i] to 0.

    input temp : 30 60 90

    output : 1 1 0

  2. 02

    Gas Station

    Data Structures & Algorithms · Medium

    Given a car with an unlimited gas tank and two arrays, `gas` and `cost`, where `cost[i]` is the gas needed to go from station i to i+1, find the starting index in `gas` from which you can complete a full loop, collecting `gas[i]` and spending `cost[i]` at each station. Start with an empty tank. Return -1 if it's not possible; otherwise, return the unique index.

    Example:

    • gas: 1 2 3 4 5

    • cost: 3 4 5 1 2

    • Output: Index 3

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!