Filter interviews by
I applied via Referral and was interviewed in Sep 2023. There were 2 interview rounds.
Use two pointers to swap non-zero elements with zero elements in place.
Use two pointers, one for non-zero elements and one for zero elements.
Swap non-zero elements with zero elements in place.
Maintain the order of non-zero elements while moving them to the beginning of the array.
I applied via LinkedIn and was interviewed in Apr 2021. There were 4 interview rounds.
Minimum cost to reach last cell of 2D matrix with only downward or right moves.
Use dynamic programming approach to solve the problem.
Calculate minimum cost for each cell by considering minimum cost of its adjacent cells.
Final answer will be the minimum cost to reach the last cell.
Design a stack that supports getMin functionality to return the minimum element in the stack.
Create two stacks, one for storing the actual elements and another for storing the minimum elements.
Push elements onto both stacks simultaneously.
When popping an element, pop from both stacks.
To get the minimum element, peek at the top of the minimum stack.
TreeSet is a data structure that stores unique elements in sorted order.
TreeSet is implemented using a Red-Black tree
It provides O(log n) time complexity for basic operations like add, remove, and contains
It also provides methods like first(), last(), headSet(), tailSet(), and subSet()
TreeSet can be used to implement priority queues and sorting algorithms
Design an ArrayList with getMax functionality.
Create a custom ArrayList class that extends the existing ArrayList class.
Add a getMax() method that returns the maximum value in the list.
Override the add() method to keep track of the maximum value in the list.
Update the maximum value whenever an element is added or removed from the list.
I applied via Company Website and was interviewed in Jan 2024. There was 1 interview round.
Given two soted arrays merge them from a single sorted array with all items in non-decreassing order
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
-----.geeksforgeeks.org/replace-every-element-with-the-greatest-on-right-side/amp/
-----/
Moderate to difficult
posted on 21 Feb 2015
Quantifiable factors to rate cab drivers for company's purpose
Customer ratings and feedback
Number of completed trips
Average trip duration
Percentage of on-time pickups
Accident and traffic violation history
Vehicle cleanliness and maintenance
Driver punctuality and professionalism
The criterion for choosing between Yuvraj Singh and Stuart Binny for the World Cup squad would be based on their recent performance, fitness, and team balance.
Evaluate recent performance of both players
Assess fitness levels of both players
Consider team balance and required skill sets
Analyze pitch and weather conditions of the tournament
Take into account the opposition teams and their strengths and weaknesses
based on 1 interview
Interview experience
Software Engineer III
12
salaries
| ₹27 L/yr - ₹27 L/yr |
Associate Product Manager
10
salaries
| ₹15 L/yr - ₹21 L/yr |
UI and UX Design Lead
8
salaries
| ₹12.1 L/yr - ₹12.1 L/yr |
Product Designer
6
salaries
| ₹17 L/yr - ₹18 L/yr |
Backend Developer
5
salaries
| ₹27 L/yr - ₹27 L/yr |
Ola Cabs
Swiggy
Zomato
Flipkart