Filter interviews by
Clear (1)
Top trending discussions
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.
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
This was the best interview in my life with coding of easiest language python
There can be some who dont know how to behave in an group this round is for them
One medium leetcode question and design question
I applied via Company Website and was interviewed before Jun 2023. There was 1 interview round.
Check if there is a path in a binary tree to a given target
Start from the root node and traverse the tree using depth-first search (DFS)
Keep track of the current path sum and compare it with the target value
Return true if a path with the target sum is found, otherwise return false
The square root of a number N is a value that, when multiplied by itself, gives N.
The square root of 9 is 3, because 3 * 3 = 9
The square root of 16 is 4, because 4 * 4 = 16
The square root of 25 is 5, because 5 * 5 = 25
based on 1 interview
Interview experience
AD Operations Specialist
18
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
12
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
11
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
11
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Manager
10
salaries
| ₹0 L/yr - ₹0 L/yr |
Microsoft Corporation
Amazon