Filter interviews by
Decorators in Python are functions that modify the behavior of other functions or methods.
Decorators are denoted by the @ symbol followed by the decorator name.
They are commonly used for adding functionality to existing functions without modifying their code.
Decorators can be used for logging, authentication, caching, etc.
Example: @staticmethod decorator in Python is used to define a method that doesn't receive an impl
I applied via Referral and was interviewed in May 2023. There were 4 interview rounds.
I applied via Recruitment Consulltant and was interviewed before Sep 2022. There were 2 interview rounds.
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 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.
Moderate to difficult
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/
-----/
based on 1 interview
Interview experience
Insurance Adviser
95
salaries
| ₹0 L/yr - ₹0 L/yr |
Customer Service Executive
8
salaries
| ₹0 L/yr - ₹0 L/yr |
Operations Associate
7
salaries
| ₹0 L/yr - ₹0 L/yr |
Customer Service Quality Manager
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Vice President Sales
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Lenskart
Nykaa
Zomato
Swiggy