i
Amazon
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Reverse a linked list using data structure and analysis
I applied via Campus Placement and was interviewed before May 2023. There was 1 interview round.
The question is about solving an easy problem on GeeksforGeeks.
Read the problem statement carefully to understand the requirements.
Break down the problem into smaller subproblems if needed.
Implement the solution using the appropriate data structures and algorithms.
Test the solution with sample inputs to ensure correctness.
I applied via Campus Placement and was interviewed before Apr 2020. There were 3 interview rounds.
Find frequency of 2 in sorted array of integers in log(n) time.
Use binary search to find first and last occurrence of 2 in array.
Calculate frequency by subtracting last index from first index and adding 1.
Time complexity is O(log(n)).
Find the maximum frequency integer to the right of each index in an array of numbers.
Create a frequency map of the array.
Iterate through the array and for each index, find the maximum frequency integer to the right using the frequency map.
If there are no integers to the right, return -1.
What people are saying about Amazon
I was interviewed in Aug 2016.
Reverse a linked list in pairs of three.
Create a function that takes the head of the linked list as input.
Traverse the linked list in pairs of three and reverse each pair.
Update the head of the linked list to the new head after reversing each pair.
Return the new head of the linked list.
Search a number in sorted rotated array.
Use binary search to find the pivot point where the array is rotated
Determine which half of the array the target number may be in
Perform binary search on the appropriate half of the array to find the target number
Amazon interview questions for designations
Get interview-ready with Top Amazon Interview Questions
Some of the top questions asked at the Amazon Intern interview for freshers -
The duration of Amazon Intern interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 12 interviews
3 Interview rounds
based on 50 reviews
Rating in categories
Bangalore / Bengaluru
4-9 Yrs
Not Disclosed
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