Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Amazon Team. If you also belong to the team, you can get access from here

Amazon Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Amazon Software Development Engineer II Interview Questions and Answers

Updated 24 May 2025

29 Interview questions

A Software Development Engineer II was asked 1mo ago
Q. Tap water problem
Ans. 

The tap water problem involves assessing water quality and safety for consumption.

  • Identify potential contaminants in tap water, such as lead or bacteria.

  • Use water testing kits to analyze pH levels and chemical composition.

  • Implement filtration systems to improve water quality.

  • Regularly monitor water sources for changes in quality.

A Software Development Engineer II was asked 6mo ago
Q. Design a chat room where users can chat with each other and join chat rooms.
Ans. 

Design a chat room system where users can chat with each other and join chat rooms.

  • Implement user authentication and authorization to ensure secure access to chat rooms.

  • Create a database to store chat messages, user information, and chat room details.

  • Develop a real-time messaging system using websockets for instant communication.

  • Allow users to create new chat rooms and join existing ones.

  • Include features like mess...

Software Development Engineer II Interview Questions Asked at Other Companies

asked in Zepto
Q1. Given two large numeric comma-separated strings, calculate their ... read more
asked in Pine Labs
Q2. Design a system like Redbus with the following functional require ... read more
asked in Zepto
Q3. Design a file system similar to Google Drive, including file uplo ... read more
asked in Porter
Q4. 1. Given an array find a subset that sums to a given sum K 2. Giv ... read more
asked in Zepto
Q5. How many microservices do you own and at what scale do they handl ... read more
A Software Development Engineer II was asked 6mo ago
Q. Given a tree structure, what is the minimum cost to reach a specific node?
Ans. 

Calculate the minimum cost to reach a specific node in a weighted tree structure.

  • Use Depth-First Search (DFS) or Breadth-First Search (BFS) to traverse the tree.

  • Keep track of the cumulative cost as you traverse to each node.

  • If the tree is represented as an adjacency list, store costs in a separate array.

  • Example: For a tree with edges (A, B, 1), (A, C, 2), the cost to reach B from A is 1.

A Software Development Engineer II was asked 7mo ago
Q. Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines...
Ans. 

The container problem involves efficiently packing items into containers to minimize wasted space.

  • Use algorithms like First Fit, Best Fit, or Next Fit to optimize packing efficiency.

  • Consider the size and shape of items being packed to determine the best container arrangement.

  • Utilize dynamic programming or greedy algorithms to solve the container packing problem efficiently.

What people are saying about Amazon

View All
an influencer marketing manager
1w
Should she delete her LinkedIn post or not?
Asking for a friend, Since last 3 months, she has been facing multiple issues including mental harassment by her manager at her workplace. She tried all official channels including reporting to the HR and even to the CEO eventually, but surprisingly, nothing happened. Infact, as a retaliation, she was put on PIP last month by here manager. So finally as a response to this continuous harassment, she went to LinkedIn and called out her manager, the company and even the CEO. And this is what she has received in response! The company is threatening her of legal actions and now we are confused, whether to delete the posts or to maintain our stand. Any help would be highly recommended at this point!
FeedCard Image
Got a question about Amazon?
Ask anonymously on communities.
A Software Development Engineer II was asked 8mo ago
Q. Design Amazon Prime.
Ans. 

Design Amazon Prime - a subscription service offering fast shipping, streaming of movies, TV shows, music, and more.

  • Offer fast shipping for products purchased on Amazon

  • Provide access to a library of movies, TV shows, and music for streaming

  • Include exclusive deals and discounts for Prime members

  • Offer additional services like Prime Video, Prime Music, Prime Reading, and more

A Software Development Engineer II was asked 8mo ago
Q. You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if and only if both the width and height of one envelope is greater than the widt...
Ans. 

Russian doll envelop variant is a problem where you need to find the maximum number of envelopes you can put inside each other.

  • Sort the envelopes based on width and height

  • Use dynamic programming to find the longest increasing subsequence based on height or width

  • The maximum number of envelopes that can fit inside each other is the length of the longest increasing subsequence

A Software Development Engineer II was asked 8mo ago
Q. What are the advantages and disadvantages of using a Trie data structure? Can you describe a scenario where using a Trie would be particularly beneficial? How does a Trie compare to other data structures li...
Ans. 

A Trie is a tree-like data structure used for efficient retrieval of keys in a dataset of strings.

  • Trie nodes represent characters of strings, allowing for prefix-based searches.

  • Example: Inserting 'cat', 'car', 'dog' creates a shared path for 'ca'.

  • Search complexity is O(m), where m is the length of the search string.

  • Tries can be used for autocomplete features in search engines.

  • Memory usage can be high due to many p...

Are these interview questions helpful?
A Software Development Engineer II was asked 8mo ago
Q. Describe the system design for a delivery management system.
Ans. 

Design a system to manage deliveries efficiently

  • Use a centralized database to store information about deliveries, drivers, and customers

  • Implement a tracking system to monitor the status of deliveries in real-time

  • Include features like route optimization, delivery scheduling, and notifications for customers

  • Consider scalability and reliability to handle a large volume of deliveries

  • Integrate with mapping APIs for accu...

A Software Development Engineer II was asked 11mo ago
Q. A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words beginWord -> s1 -> s2 -> ... -> sk such that: Every adjacent pair of words differ...
Ans. 

Word Ladder is a popular problem on LeetCode where you have to find the shortest transformation sequence from start to end word.

  • Use BFS to explore all possible transformations from the start word to the end word.

  • Build a graph where each word is a node and there is an edge between two words if they differ by one character.

  • Keep track of visited words to avoid revisiting them and use a queue for BFS traversal.

  • Return ...

A Software Development Engineer II was asked 11mo ago
Q. Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i]. The product of any prefix or suffix of nums is guaranteed to fit i...
Ans. 

Calculate product of all elements in array except the element itself

  • Iterate through array to calculate product of all elements except current element

  • Use two arrays to store products of elements to the left and right of current element

  • Multiply corresponding elements from left and right arrays to get final product

Amazon Software Development Engineer II Interview Experiences

31 interviews found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Binary Search based optimisation question

Round 2 - One-on-one 

(2 Questions)

  • Q1. Tree based question, min cost to reach a node
  • Ans. 

    Calculate the minimum cost to reach a specific node in a weighted tree structure.

    • Use Depth-First Search (DFS) or Breadth-First Search (BFS) to traverse the tree.

    • Keep track of the cumulative cost as you traverse to each node.

    • If the tree is represented as an adjacency list, store costs in a separate array.

    • Example: For a tree with edges (A, B, 1), (A, C, 2), the cost to reach B from A is 1.

  • Answered by AI
  • Q2. LLD of product service in a e-commerce platform
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Design chat room where users can chat with each other and also able to join chat room
  • Ans. 

    Design a chat room system where users can chat with each other and join chat rooms.

    • Implement user authentication and authorization to ensure secure access to chat rooms.

    • Create a database to store chat messages, user information, and chat room details.

    • Develop a real-time messaging system using websockets for instant communication.

    • Allow users to create new chat rooms and join existing ones.

    • Include features like message h...

  • Answered by AI
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Sep 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Write code on paper using the multithreading, oops and design patterns correctly

Round 2 - Technical 

(2 Questions)

  • Q1. List of hot videos on YouTube
  • Ans. 

    I'm sorry, I don't have access to real-time data to provide a list of hot videos on YouTube.

    • Answered by AI
    • Q2. Design amazon Prime
    • Ans. 

      Design Amazon Prime - a subscription service offering fast shipping, streaming of movies, TV shows, music, and more.

      • Offer fast shipping for products purchased on Amazon

      • Provide access to a library of movies, TV shows, and music for streaming

      • Include exclusive deals and discounts for Prime members

      • Offer additional services like Prime Video, Prime Music, Prime Reading, and more

    • Answered by AI

    Skills evaluated in this interview

    Interview experience
    4
    Good
    Difficulty level
    Moderate
    Process Duration
    2-4 weeks
    Result
    No response

    I applied via Recruitment Consulltant

    Round 1 - Coding Test 

    Dsa, array, dp, backtracking

    Round 2 - Technical 

    (2 Questions)

    • Q1. 2 sum array queston
    • Q2. Container problem
    • Ans. 

      The container problem involves efficiently packing items into containers to minimize wasted space.

      • Use algorithms like First Fit, Best Fit, or Next Fit to optimize packing efficiency.

      • Consider the size and shape of items being packed to determine the best container arrangement.

      • Utilize dynamic programming or greedy algorithms to solve the container packing problem efficiently.

    • Answered by AI

    Skills evaluated in this interview

    Interview experience
    5
    Excellent
    Difficulty level
    Moderate
    Process Duration
    2-4 weeks
    Result
    Selected Selected

    I appeared for an interview in Apr 2025, where I was asked the following questions.

    • Q1. Hacker rank medium level
    • Q2. Tap water problem
    • Ans. 

      The tap water problem involves assessing water quality and safety for consumption.

      • Identify potential contaminants in tap water, such as lead or bacteria.

      • Use water testing kits to analyze pH levels and chemical composition.

      • Implement filtration systems to improve water quality.

      • Regularly monitor water sources for changes in quality.

    • Answered by AI
    • Q3. Questions on tree
    Interview experience
    5
    Excellent
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    Selected Selected

    I applied via Recruitment Consulltant and was interviewed in Jun 2024. There were 3 interview rounds.

    Round 1 - Coding Test 

    Round 1 was a technical/coding round. There were 2 simple linked-list and LRU cache questions.

    Round 2 - Coding Test 

    Round 2 was also a tech/coding round. The 1st question was about from tree and second was from string (which could be done using map and array).

    Round 3 - Behavioral 

    (2 Questions)

    • Q1. What was your role in your previous organization? (In details)
    • Q2. What projects have you worked on? (In details)
    Interview experience
    3
    Average
    Difficulty level
    Moderate
    Process Duration
    2-4 weeks
    Result
    Not Selected

    I applied via LinkedIn and was interviewed in Jul 2024. There were 3 interview rounds.

    Round 1 - Aptitude Test 

    Data Structures and Algorithms plus Amazon behavioral interview questions.

    Round 2 - Technical 

    (1 Question)

    • Q1. Low level design
    Round 3 - Technical 

    (1 Question)

    • Q1. Data structures and algorithms
    Interview experience
    5
    Excellent
    Difficulty level
    Moderate
    Process Duration
    2-4 weeks
    Result
    Not Selected

    I applied via LinkedIn and was interviewed in Jul 2024. There were 3 interview rounds.

    Round 1 - Coding Test 

    Standard questions, Don't Remember

    Round 2 - One-on-one 

    (2 Questions)

    • Q1. 2 LPS, Combinations Question
    • Q2. 2 LPS, LLD
    Round 3 - One-on-one 

    (1 Question)

    • Q1. 2 LPS, 1 Coding
    Interview experience
    5
    Excellent
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Coding Test 

    Tough and was mostly out of leet code type

    Round 2 - One-on-one 

    (2 Questions)

    • Q1. About code and DSA
    • Q2. System Design and architecture
    Interview experience
    4
    Good
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Technical 

    (2 Questions)

    • Q1. Coin change problem
    • Ans. 

      The coin change problem involves finding the minimum number of coins needed to make a certain amount of change.

      • Start by creating an array to store the minimum number of coins needed for each amount from 0 to the target amount.

      • Iterate through each coin denomination and update the minimum number of coins needed for each amount.

      • Return the minimum number of coins needed for the target amount.

    • Answered by AI
    • Q2. Min heap related questions
    Round 2 - Technical 

    (2 Questions)

    • Q1. Tree traversal problem
    • Ans. 

      Tree traversal problem involves visiting each node in a tree data structure in a specific order.

      • There are three main types of tree traversal: in-order, pre-order, and post-order.

      • In-order traversal visits the left subtree, then the root, then the right subtree.

      • Pre-order traversal visits the root, then the left subtree, then the right subtree.

      • Post-order traversal visits the left subtree, then the right subtree, then the ...

    • Answered by AI
    • Q2. Longest common subsequence
    • Ans. 

      Longest common subsequence is the longest sequence of characters that appear in the same order in two or more strings.

      • Use dynamic programming to solve this problem efficiently.

      • Create a 2D array to store the lengths of longest common subsequences of substrings.

      • Traverse the array to find the longest common subsequence.

    • Answered by AI
    Round 3 - Design 

    (1 Question)

    • Q1. Whatsapp LLD and HLD

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Language doesn't matter. Be very clear about your approach and reasons. Be vocal during the interview

    Skills evaluated in this interview

    Amazon Interview FAQs

    How many rounds are there in Amazon Software Development Engineer II interview?
    Amazon interview process usually has 2-3 rounds. The most common rounds in the Amazon interview process are Technical, Coding Test and One-on-one Round.
    How to prepare for Amazon Software Development Engineer II interview?
    Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Amazon. The most common topics and skills that interviewers at Amazon expect are Architectural Design, Medical Coding, Clinical SAS Programming, Computer Science and Customer Experience Management.
    What are the top questions asked in Amazon Software Development Engineer II interview?

    Some of the top questions asked at the Amazon Software Development Engineer II interview -

    1. find a missing number in unsorted array which is having elements in the range[1...read more
    2. Can you describe how a hashmap wor...read more
    3. Implement a simplified Video Codex using data structu...read more
    How long is the Amazon Software Development Engineer II interview process?

    The duration of Amazon Software Development Engineer II interview process can vary, but typically it takes about 2-4 weeks to complete.

    Tell us how to improve this page.

    Overall Interview Experience Rating

    4.3/5

    based on 37 interview experiences

    Difficulty level

    Moderate 89%
    Hard 11%

    Duration

    Less than 2 weeks 29%
    2-4 weeks 47%
    6-8 weeks 18%
    More than 8 weeks 6%
    View more

    Interview Questions from Similar Companies

    Uber Interview Questions
    4.2
     • 155 Interviews
    Expedia Group Interview Questions
    3.8
     • 78 Interviews
    LinkedIn Interview Questions
    4.3
     • 69 Interviews
    OLX Interview Questions
    3.8
     • 60 Interviews
    Facebook Interview Questions
    4.3
     • 55 Interviews
    Uplers Interview Questions
    3.9
     • 43 Interviews
    Groupon Interview Questions
    3.1
     • 42 Interviews
    Fareportal Interview Questions
    3.3
     • 32 Interviews
    Yahoo Interview Questions
    4.6
     • 30 Interviews
    Airbnb Interview Questions
    3.7
     • 25 Interviews
    View all
    Amazon Software Development Engineer II Salary
    based on 1.3k salaries
    ₹25 L/yr - ₹90 L/yr
    86% more than the average Software Development Engineer II Salary in India
    View more details

    Amazon Software Development Engineer II Reviews and Ratings

    based on 51 reviews

    2.7/5

    Rating in categories

    3.4

    Skill development

    2.2

    Work-life balance

    4.0

    Salary

    2.2

    Job security

    2.3

    Company culture

    2.5

    Promotions

    2.7

    Work satisfaction

    Explore 51 Reviews and Ratings
    Software Development Engineer II

    Chennai

    3-8 Yrs

    ₹ 20-62 LPA

    Software Development Engineer II, IN Payments

    Bangalore / Bengaluru

    3-8 Yrs

    ₹ 10-80 LPA

    Software Development Engineer II, Amazon Payments

    Bangalore / Bengaluru

    3-8 Yrs

    ₹ 10-80 LPA

    Explore more jobs
    Customer Service Associate
    4.1k salaries
    unlock blur

    ₹0.6 L/yr - ₹7.8 L/yr

    Transaction Risk Investigator
    3.1k salaries
    unlock blur

    ₹2 L/yr - ₹6.3 L/yr

    Associate
    3k salaries
    unlock blur

    ₹0.8 L/yr - ₹7 L/yr

    Senior Associate
    2.6k salaries
    unlock blur

    ₹1.8 L/yr - ₹9 L/yr

    Software Developer
    2.2k salaries
    unlock blur

    ₹27.1 L/yr - ₹56.3 L/yr

    Explore more salaries
    Compare Amazon with

    Flipkart

    3.9
    Compare

    TCS

    3.6
    Compare

    Google

    4.4
    Compare

    Netflix

    4.3
    Compare
    write
    Share an Interview