i
Amazon
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
The question asks to find the sum of all numbers formed from root to leaf path in a tree.
Traverse the tree using depth-first search (DFS)
At each node, calculate the number formed by concatenating the current number with the node's value
If the node is a leaf, add the formed number to the sum
Return the sum as the result
Print all possible strings by placing spaces (zero or one) in between given string.
Use recursion to generate all possible combinations.
For each character, either include it with a space or without a space.
Stop recursion when all characters have been processed.
Print all generated combinations.
Preorder traversal without recursion is done using a stack to simulate the recursive function calls.
Create an empty stack and push the root node onto it
While the stack is not empty, pop a node from the stack and visit it
Push the right child of the popped node onto the stack
Push the left child of the popped node onto the stack
The longest continuous patch of a road repaired by a contractor is determined.
Iterate through the updates and keep track of the start and end points of each patch
Calculate the length of each patch and update the longest patch if necessary
Return the start and end points of the longest patch
Find median of an unsorted array.
Sort the array in ascending order
If the array has an odd length, the median is the middle element
If the array has an even length, the median is the average of the two middle elements
The code should find the 'k' elements closest to a given number from a stream of characters.
Use a priority queue to keep track of the 'k' closest elements.
For each character in the stream, calculate its distance from the given number and add it to the priority queue.
If the priority queue size exceeds 'k', remove the element with the maximum distance.
At any moment, the 'k' elements in the priority queue will be the clos
Design a data structure with O(1) insert(), remove(), find-max(), delete-max() operations.
Use a doubly linked list to store the elements and a hash table to store the pointers to the nodes.
Keep track of the maximum element in a separate variable and update it on insert() and delete-max() operations.
For remove() operation, use the hash table to find the node and remove it from the linked list.
All operations should be im
Check if a given linked list is a palindrome.
Traverse the linked list and push each element onto a stack.
Traverse the linked list again and compare each element with the top of the stack.
If all elements match, the linked list is a palindrome.
Alternatively, reverse the linked list and compare it with the original linked list.
I applied via Company Website and was interviewed in Nov 2024. There was 1 interview round.
Amazon offers challenging projects, innovative technologies, and a collaborative work environment.
Opportunity to work on cutting-edge projects like Amazon Web Services (AWS) or Alexa
Access to vast resources and tools for development
Collaborative work culture that encourages learning and growth
Opportunity to impact millions of customers worldwide
Competitive compensation and benefits package
I want to work at Amazon because of their innovative culture, vast resources, and opportunities for growth.
Amazon is known for its innovative culture and cutting-edge technology.
They have vast resources and a global reach, providing opportunities to work on impactful projects.
Amazon offers great career growth and development opportunities for software developers.
I admire Amazon's customer-centric approach and focus on
My strengths include problem-solving skills and attention to detail. My weakness is sometimes being too critical of my own work.
Strengths: problem-solving skills
Strengths: attention to detail
Weakness: being too critical of my own work
I would solve the problem by breaking it down into smaller tasks, analyzing requirements, designing a solution, coding, testing, and debugging.
Analyze requirements thoroughly before starting the development process
Break down the problem into smaller tasks to make it more manageable
Design a solution architecture that meets the requirements and is scalable
Code the solution using best practices and coding standards
Test th...
Short term goals focus on immediate tasks and objectives, while long-term goals involve strategic planning and growth.
Short term goals may include completing a specific project, improving team communication, or implementing a new software feature.
Long-term goals could involve expanding the team, increasing market share, or developing new products or services.
Short term goals help keep the team focused and motivated, wh...
I applied via Company Website and was interviewed in Jun 2024. There were 6 interview rounds.
It was a coding test on Hackerrank with 3 Leetcode easy to medium-level questions.
What people are saying about Amazon
I applied via campus placement at Dehradun Institute of Technology, Dehradun and was interviewed in Nov 2024. There were 3 interview rounds.
Good but tough i dint do well but still qualified
Very tough only graphs dp and linked lists were asked
Reverse a singly linked list and return the reversed list.
Iterate through the linked list and reverse the pointers
Use three pointers to keep track of current, previous, and next nodes
Update the head pointer to the last node after reversing
Depth-first search (DFS) is a graph traversal algorithm that explores as far as possible along each branch before backtracking.
DFS starts at a selected node and explores as far as possible along each branch before backtracking.
It uses a stack to keep track of nodes to visit next.
DFS can be implemented recursively or iteratively.
Example: DFS traversal of a graph starting from node A: A -> B -> D -> E -> C -&
Amazon interview questions for designations
The least common ancestor of a binary tree is the node that is the lowest common ancestor of two given nodes in the tree.
Start from the root node and recursively search for the given nodes in the left and right subtrees.
If one node is found in the left subtree and the other in the right subtree, then the current node is the least common ancestor.
If both nodes are found in the left subtree, then the least common ancesto...
Use Dijkstra's algorithm to find the smallest path from point a to point b in a matrix.
Implement Dijkstra's algorithm to find the shortest path in a matrix
Create a matrix representation of the graph with weights on edges
Start from point a and explore all possible paths to reach point b
Get interview-ready with Top Amazon Interview Questions
Hacker rank test include 2 code and mcg questions
Two coding questions, both passed 100%
Identifying duplicates in an array involves finding and removing elements that appear more than once.
Iterate through the array and use a hash set to keep track of elements seen so far.
If an element is already in the hash set, it is a duplicate and can be removed.
Example: ['apple', 'banana', 'apple', 'orange'] - 'apple' is a duplicate.
Example: ['cat', 'dog', 'bird', 'cat'] - 'cat' is a duplicate.
2-3 coding questions with some mcq
I applied via Referral and was interviewed in Aug 2024. There were 3 interview rounds.
COding test consist of 2 question of easy level, both of easy level and queue
I applied via Internshala and was interviewed in Nov 2024. There were 3 interview rounds.
Genral Aptitude questions
Normal Coding Test DSA, Data Strcuures
Mostly DSA and problem solving.
Some of the top questions asked at the Amazon Software Developer interview -
The duration of Amazon Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 117 interviews
5 Interview rounds
based on 262 reviews
Rating in categories
Customer Service Associate
4.2k
salaries
| ₹0.6 L/yr - ₹6.8 L/yr |
Transaction Risk Investigator
3.1k
salaries
| ₹2.3 L/yr - ₹6.5 L/yr |
Associate
2.8k
salaries
| ₹0.8 L/yr - ₹6.9 L/yr |
Senior Associate
2.5k
salaries
| ₹2 L/yr - ₹10.1 L/yr |
Program Manager
2.3k
salaries
| ₹9 L/yr - ₹36 L/yr |
Flipkart
TCS
Netflix