i
Apple
Filter interviews by
I applied via Campus Placement
Hackerrank test, it was simple cuz intern
I appeared for an interview 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
I applied via Naukri.com and was interviewed before Mar 2021. There were 2 interview rounds.
Program
I applied via LinkedIn and was interviewed before Apr 2021. There were 2 interview rounds.
It was quite good
Assignment was real world based
I applied via Campus Placement and was interviewed in Aug 2021. There was 1 interview round.
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.
based on 3 interviews
Interview experience
based on 2 reviews
Rating in categories
Software Engineer
150
salaries
| ₹20 L/yr - ₹75 L/yr |
Sales Executive
105
salaries
| ₹1.6 L/yr - ₹5 L/yr |
Ipro
104
salaries
| ₹2 L/yr - ₹5.1 L/yr |
Software Developer
91
salaries
| ₹12 L/yr - ₹50 L/yr |
Senior Software Engineer
74
salaries
| ₹14.2 L/yr - ₹53 L/yr |
Amazon
Microsoft Corporation
Samsung