i
Amazon
Filter interviews by
Clear (1)
All GeeksForGeeks questions.
I applied via Campus Placement and was interviewed in Dec 2023. There were 2 interview rounds.
Question from dp and binary tree.
To find the height of a binary tree, we can recursively calculate the height of left and right subtrees and return the maximum height + 1.
Start by checking if the tree is empty, in which case the height is 0.
Recursively calculate the height of the left and right subtrees.
Return the maximum height of the left and right subtrees + 1 as the height of the binary tree.
Two medium-hard leetcode questions
What people are saying about Amazon
3 DSA Questions, 2 moderate and 1 Hard
Amazon interview questions for designations
I applied via Campus Placement and was interviewed in Mar 2023. There were 4 interview rounds.
2 DSA questions of leetcode medium level
Get interview-ready with Top Amazon Interview Questions
I applied via Recruitment Consulltant and was interviewed before Nov 2023. There were 4 interview rounds.
Comprise of DSA questions related to trees
Coding question related to graph traversal
Design system design for bitly
Use a distributed system architecture to handle high traffic and scalability
Implement a URL shortening algorithm to generate unique short links
Utilize caching mechanisms to improve performance and reduce database load
Include analytics and tracking features to monitor link performance
Ensure data security and privacy measures are in place to protect user information
Design a system for booking tickets for events like movies, concerts, etc.
Use microservices architecture for scalability and flexibility
Implement a user-friendly interface for easy ticket booking
Include features like seat selection, payment gateway integration, and booking history
Utilize a database to store event details, user information, and booking records
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
I applied via Referral and was interviewed before Jan 2024. There was 1 interview round.
2 DSA LeetCode Medium Questions + Follow-up Leadership Principles MCQ questions.
I applied via Company Website and was interviewed before Aug 2023. There was 1 interview round.
LRU caching algorithm stores most recently used items, discarding least recently used items when full.
Use a doubly linked list to maintain order of items based on recent usage
Use a hashmap to quickly access items in the cache
When an item is accessed, move it to the front of the linked list
When cache is full, remove the last item in the linked list
Use quickselect algorithm to find the kth min element from an array
Implement quickselect algorithm to partition the array based on a pivot element
Recursively select the partition to search for the kth min element
Time complexity is O(n) on average, O(n^2) worst case
I applied via Instahyre and was interviewed in Jun 2022. There were 5 interview rounds.
There were 3 coding questions within 1.5 hrs, 2 leetcode medium, 1 leetcode easy.
Some of the top questions asked at the Amazon Software Development Engineer interview -
The duration of Amazon Software Development Engineer interview process can vary, but typically it takes about 2-4 weeks to complete.
based on 31 interviews
4 Interview rounds
based on 134 reviews
Rating in categories
Customer Service Associate
4.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Transaction Risk Investigator
3.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate
2.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate
2.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Program Manager
2.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Flipkart
TCS
Netflix