i
Amazon
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
General DSA questions
Two medium-hard leetcode questions
What people are saying about Amazon
I applied via Referral and was interviewed before Jun 2023. There were 3 interview rounds.
Calculate the maximum absolute difference between the sums of any two levels in a binary tree.
Traverse the binary tree level by level and calculate the sum of nodes at each level.
Keep track of the maximum absolute difference between the sums of any two levels encountered so far.
Return the maximum absolute difference found.
Yes, we can use Breadth First Search (BFS) algorithm to determine if we can reach index 0 with the given operations.
Use BFS algorithm to explore all possible paths starting from index 0.
Keep track of visited indices to avoid infinite loops.
If we reach an index with value 0, return true; otherwise, return false.
Use two separate arrays to store prime and non-prime numbers from the input array.
Iterate through the input array and check if each element is prime or not.
Store prime numbers in one array and non-prime numbers in another array.
Maintain the order of elements in the input array while separating prime and non-prime numbers.
Use a hashmap to separate prime and non-prime numbers in an array of strings.
Iterate through the array and convert each string to an integer.
Use a hashmap to store prime and non-prime numbers based on their divisibility.
Convert the hashmap back to separate arrays for prime and non-prime numbers.
Separate prime numbers from non-prime numbers in a linked list while preserving their order.
Iterate through the linked list and separate prime numbers from non-prime numbers
Create two separate linked lists for prime and non-prime numbers
Maintain the order of numbers while separating them
Example: Input: 1 -> 2 -> 3 -> 4 -> 5, Output: Prime: 2 -> 3 -> 5, Non-prime: 1 -> 4
Count number of flips required to balance parentheses in a string
Iterate through the string and keep track of open and close brackets
If a close bracket is encountered without a corresponding open bracket, increment flip count
Return the total number of flips required to balance the parentheses
Amazon interview questions for designations
I applied via LinkedIn and was interviewed before Sep 2022. There were 3 interview rounds.
2 questions medium difficulty
JSP servlets were used for dynamic web page generation and server-side processing.
Used for creating dynamic web pages by embedding Java code in HTML
Facilitates server-side processing of user requests
Enables separation of presentation and business logic
Provides scalability and reusability of code
Example: Used JSP servlets to generate personalized user profiles on a website
Get interview-ready with Top Amazon Interview Questions
I applied via Amazon websi and was interviewed in Aug 2020. There was 1 interview round.
DFS based question to find number of rotten tomatoes in an array of strings.
Implement DFS to traverse the array of strings
Check each element for rotten tomatoes
Keep track of the count of rotten tomatoes
I applied via Naukri.com and was interviewed in Mar 2019. There were 5 interview rounds.
Shortest path in 2D matrix
Use BFS or Dijkstra's algorithm
Create a visited matrix to avoid revisiting cells
Keep track of distance and path
Consider obstacles or blocked cells
Vertical order traversal of tree
Vertical order traversal means printing nodes of a binary tree in vertical order
We can use a map to store nodes at each horizontal distance from the root
Then we can traverse the map and print nodes in each horizontal distance
The number of binary strings of length N without consecutive 1s.
Use dynamic programming to solve the problem.
Create an array to store the number of valid strings for each length.
Initialize the array with base cases.
Iterate through the array and calculate the number of valid strings for each length.
Return the value at the Nth index of the array.
Find the first level in a complete binary tree where the height difference between left and right subtrees is more than 1.
Traverse the binary tree level by level using breadth-first search
For each level, calculate the height difference between the left and right subtrees
Return the level number when the height difference is more than 1
Indexes in MySQL are used to improve query performance by allowing faster data retrieval.
Indexes are created on one or more columns of a table.
They work by creating a separate data structure that allows for faster data retrieval.
Indexes can be created using the CREATE INDEX statement.
Indexes can also be dropped using the DROP INDEX statement.
Indexes can be used to speed up SELECT, UPDATE, and DELETE statements.
Indexes ...
include_once and require_once are PHP functions used to include files. The difference is in how they handle errors.
include_once will only include the file once, and will not throw a fatal error if the file is not found
require_once will also only include the file once, but will throw a fatal error if the file is not found
Both functions are used to include files that contain functions or variables that are needed in the
Sessions and cookies are both used for maintaining user state, but sessions are server-side and cookies are client-side.
Sessions store user data on the server, while cookies store data on the client's browser
Sessions are more secure than cookies because the data is not accessible to the client
Cookies can be used for tracking user behavior and preferences
Sessions are typically used for authentication and authorization p...
To find missing number in an array of first n numbers.
Calculate the sum of first n numbers using formula n*(n+1)/2
Calculate the sum of given array using loop
Subtract the sum of array from sum of first n numbers to get the missing number
Design a database schema for a chat application with individual and group messaging.
Create a 'users' table with unique user IDs
Create a 'messages' table with message IDs, sender and receiver IDs, message content, and timestamp
Create a 'groups' table with unique group IDs and group names
Create a 'group_members' table with group ID and user ID to track group membership
Use foreign keys to link tables together
Consider inde
SQL query to retrieve all unread messages upon user sign in
Use a JOIN statement to combine the messages and user tables
Filter the results to only show messages that have not been read by the user
Use the user's sign in information to identify which messages are unread
I am excited to join OLX because of its innovative approach to online marketplaces and its commitment to customer satisfaction.
I am impressed by OLX's user-friendly platform and its ability to connect buyers and sellers from all over the world.
I am excited to work with a team of talented developers who are passionate about creating cutting-edge technology.
I believe that OLX's focus on customer satisfaction aligns with ...
I have faced difficulties in debugging complex code and managing project timelines.
Debugging complex code with multiple dependencies
Managing project timelines with changing requirements
Working with legacy code and outdated technologies
Collaborating with team members in different time zones
Dealing with unexpected bugs and errors
I report to the Technical Lead and am part of the development team.
I report to the Technical Lead
I am part of the development team
Our website receives an average of 10,000 unique visitors per day.
Our website has a steady flow of traffic with a consistent number of unique visitors per day.
We use Google Analytics to track our web traffic and analyze user behavior.
Our peak traffic times are during weekdays from 9am to 5pm.
We have noticed an increase in mobile traffic over the past year.
Our website's traffic is primarily driven by organic search and
Some of the top questions asked at the Amazon Software Development Engineer interview for experienced candidates -
The duration of Amazon Software Development Engineer interview process can vary, but typically it takes about 2-4 weeks to complete.
based on 5 interviews
1 Interview rounds
based on 135 reviews
Rating in categories
Bangalore / Bengaluru
0-7 Yrs
Not Disclosed
Customer Service Associate
4.1k
salaries
| ₹0.6 L/yr - ₹6 L/yr |
Transaction Risk Investigator
3.1k
salaries
| ₹2 L/yr - ₹6.1 L/yr |
Associate
2.9k
salaries
| ₹0.8 L/yr - ₹7 L/yr |
Senior Associate
2.5k
salaries
| ₹2 L/yr - ₹10.5 L/yr |
Program Manager
2.2k
salaries
| ₹9 L/yr - ₹37 L/yr |
Flipkart
TCS
Netflix