Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2022. There were 4 interview rounds.
I applied via Hackerearth contest and was interviewed in Oct 2021. There was 1 interview round.
Reverse a linked list
Iterate through the linked list and change the direction of the pointers
Use three pointers to keep track of the current, previous, and next nodes
Make sure to update the head and tail pointers accordingly
Swap 2 numbers without using a third variable
Use the XOR operation to swap the numbers
Assign the first number to the second number using XOR
Assign the second number to the first number using XOR
Height of a binary tree is the maximum number of edges from the root node to any leaf node.
The height of an empty tree is 0.
The height of a tree with only one node is 1.
The height of a tree can be calculated recursively by finding the height of its left and right subtrees and adding 1 to the maximum of the two heights.
The time complexity of finding the height of a binary tree is O(n), where n is the number of nodes in
Sum queries on a 2D matrix
Iterate through each query and calculate the sum of elements in the given range
Use prefix sum technique to optimize the solution
Preprocess the matrix to store the sum of elements in each row and column for faster calculation
I applied via LinkedIn and was interviewed before Sep 2021. There were 2 interview rounds.
Easy tree questions from basic DSA sheets
Top trending discussions
I applied via Walk-in and was interviewed before Aug 2020. There was 1 interview round.
I applied via Campus Placement
Predicted month end target based on 35% work completed in first 10 days.
Assuming the employee works at a consistent pace throughout the month
Calculate the remaining work as 65% of the total work
Divide the remaining work by the remaining days in the month
Add the result to the 35% already completed
This gives the predicted month end target
For example, if the total work is 100 units, and 35 units are completed in the first...
I applied via Naukri.com and was interviewed before Dec 2019. There were 5 interview rounds.
I applied via Naukri.com and was interviewed before Sep 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Jun 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Jun 2021. There were 2 interview rounds.
Networking and linux internals
I appeared for an interview in Aug 2016.
based on 2 reviews
Rating in categories
Software Engineer
1.6k
salaries
| ₹7.3 L/yr - ₹22 L/yr |
Lead Engineer
625
salaries
| ₹10 L/yr - ₹38 L/yr |
Senior Software Engineer
531
salaries
| ₹7.9 L/yr - ₹33 L/yr |
Chief Engineer
389
salaries
| ₹14.1 L/yr - ₹60 L/yr |
Engineer
324
salaries
| ₹6.8 L/yr - ₹25 L/yr |
Vivo
OPPO
LG Electronics
HARMAN