amazon logo
Amazon· SDE-1 FTC

Amazon | SDE-1 FTC | Bangalore | April 2025

Location
Bangalore
Experience
2.5 years
Posted
8 Apr 2025
302 reads

Summary

I recently interviewed for an SDE-1 FTC role at Amazon in Bangalore, sharing my experience across four rounds, including an Online Assessment, Data Structures and Algorithms, Problem Solving, and a Hiring Manager round.

How it went

I have recently given the interview for SDE-1 FTC (12 month contract) role with the Amazon Payments team. I have 2.5 years of experience. Here is my interview experience:

  1. Round -1 : Online Assessment: Q1) There are N warehouses in a city. The 2D coordinates of these warehouses are given in the allocations array, where allocations[i][0], allocations[i][1] represent the coordinates of ith warehouse. You are initially at (0,0) coordinate, and can visit K warehouses. Find the K nearest warehouses from origin. Note: Distance of (x,y) from (0,0) is sqrt(x^2 + y^2). Q2) There is a 2-D grid of size M * N. The grid contains 0 (free cell), 1 (blocked cell) and 9 (destination cell). You are initially at (0,0) and can move in four directions (up, down, right, left) in one step. You cannot visit cells that have the value 1. There is atmost one cell in the grid that has value 9. Find the minimum number of steps to reach cell 9 from top left cell. If it's not possible to reach, return -1.

  2. Round - 2 (F2F) : Data Structures and Algorithms Design a Youtube playlist with the following functionalities: a) addSong(songID, songName) => add at the end of playlist b) deleteSong(songID) => remove song if it exists c) moveNext() => move to next song d) moveBack() => move to previous song e) moveByKPositions(int k) => move by k positions f) playlistSize() => give number of songs in the playlist. Note: Only moveByKPositions() can be done in O(N) time, rest should work in O(1) time. Focus was on using the right data structure and algorithm, as well as writing clean and modular code. LP Questions: Tell me about a time when you prioritized the needs of a customer over your organization's needs.

  3. Round-3: Problem Solving Q1) https://leetcode.com/problems/the-k-th-lexicographical-string-of-all-happy-strings-of-length-n/description/ Interviewer was fine with the backtracking approach. Q2) https://leetcode.com/problems/jump-game-ii/description/ Interviewer strictly wanted a solution that runs in O(N) time and uses only O(1) space. Interviewer did not accept the DP solution that use O(N) space. LP Questions: Tell about a time when you went through your codebase and optimized/fixed a bug on your own.

  4. Round-4: Hiring Manager Round a) Tell about the best project you worked upon b) Tell about the most complex issue you worked upon and how you fixed it c) Tell about a time when you were unable to complete a task within a deadline and how you communicated with the stakeholders d) Tell about a time when you took ownership, went outside of your responsibility and completed a task e) Tell me about a time when you had a disagreement with your teammates and how did you resolve it f) All of your responses were mainly related to hardware projects, do you have any experience for previous questions in Java/Backend/Database

Questions asked (13)

  1. 01

    K Nearest Warehouses from Origin

    Data Structures & Algorithms

    There are N warehouses in a city. The 2D coordinates of these warehouses are given in the allocations array, where allocations[i][0], allocations[i][1] represent the coordinates of ith warehouse. You are initially at (0,0) coordinate, and can visit K warehouses. Find the K nearest warehouses from origin. Note: Distance of (x,y) from (0,0) is sqrt(x^2 + y^2).

  2. 02

    Minimum Steps to Reach Destination in a Grid

    Data Structures & Algorithms

    There is a 2-D grid of size M * N. The grid contains 0 (free cell), 1 (blocked cell) and 9 (destination cell). You are initially at (0,0) and can move in four directions (up, down, right, left) in one step. You cannot visit cells that have the value 1. There is atmost one cell in the grid that has value 9. Find the minimum number of steps to reach cell 9 from top left cell. If it's not possible to reach, return -1.

  3. 03

    Design YouTube Playlist

    Data Structures & Algorithms

    Design a Youtube playlist with the following functionalities: a) addSong(songID, songName) => add at the end of playlist b) deleteSong(songID) => remove song if it exists c) moveNext() => move to next song d) moveBack() => move to previous song e) moveByKPositions(int k) => move by k positions f) playlistSize() => give number of songs in the playlist. Note: Only moveByKPositions() can be done in O(N) time, rest should work in O(1) time. Focus was on using the right data structure and algorithm, as well as writing clean and modular code.

  4. 04

    Prioritizing Customer Needs

    Behavioral

    Tell me about a time when you prioritized the needs of a customer over your organization's needs.

  5. 05

    The K-th Lexicographical String of All Happy Strings of Length N

    Data Structures & Algorithms

    Open the problem
  6. 06

    Jump Game II

    Data Structures & Algorithms

    Open the problem
  7. 07

    Optimizing/Fixing a Bug

    Behavioral

    Tell about a time when you went through your codebase and optimized/fixed a bug on your own.

  8. 08

    Best Project

    Behavioral

    Tell about the best project you worked upon

  9. 09

    Most Complex Issue

    Behavioral

    Tell about the most complex issue you worked upon and how you fixed it

  10. 10

    Missing Deadline and Communication

    Behavioral

    Tell about a time when you were unable to complete a task within a deadline and how you communicated with the stakeholders

  11. 11

    Taking Ownership Beyond Responsibility

    Behavioral

    Tell about a time when you took ownership, went outside of your responsibility and completed a task

  12. 12

    Resolving Teammate Disagreements

    Behavioral

    Tell me about a time when you had a disagreement with your teammates and how did you resolve it

  13. 13

    Experience with Java/Backend/Database

    Behavioral

    All of your responses were mainly related to hardware projects, do you have any experience for previous questions in Java/Backend/Database

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!