Filter interviews by
Clear (1)
Forgot the specifics but it had several OS, Digital Design and Computer Architecture questions followed by one coding implementation.
Rainwater problem involves calculating the amount of rainwater that can be trapped between buildings.
Calculate the maximum height of water that can be stored at each index
Calculate the water trapped at each index by subtracting the height of the building at that index from the minimum of the maximum heights on the left and right
Sum up the water trapped at each index to get the total amount of rainwater trapped
Top trending discussions
posted on 12 Jul 2016
I applied via Campus Placement
The question is about finding the minimum steps to reach from a source string to a destination string using three operations.
BFS and DFS are graph traversal techniques that can be used to solve this problem.
BFS is typically used when finding the shortest path or exploring all possible paths in a graph.
DFS is useful when searching for a specific path or exploring deeply into a graph.
In this case, BFS can be used to find...
I was interviewed in Nov 2016.
Need more context. What needs to be done with the large rectangle?
What are the dimensions of the rectangle?
Is it a 2D or 3D object?
What is the context of the problem?
Are there any constraints or limitations?
What tools or programming languages can be used?
Derive a formula to determine how many smaller rectangles fit into a bigger rectangle given their dimensions.
Calculate the number of times the smaller rectangle can fit into the bigger rectangle horizontally and vertically
Divide the width of the bigger rectangle by the width of the smaller rectangle to get the horizontal count
Divide the height of the bigger rectangle by the height of the smaller rectangle to get the ve...
At least 4 points are required to draw a rectangle.
A rectangle has 4 sides and 4 corners, so at least 4 points are needed to define those corners.
The points must be arranged in a specific order to form a closed shape with 4 sides.
Additional points can be used to add details or modify the shape of the rectangle.
The number of points required may vary depending on the software or tool used to draw the rectangle.
Answering how to calculate new coordinates of a scaled rectangle and providing a program for it.
To calculate new coordinates, multiply the original coordinates by the scaling factor
Scaling factor can be calculated by dividing the new length/breadth by the original length/breadth
Program can take input of original coordinates, scaling factor, and output new coordinates
Example: Original coordinates: (0,0), (0,5), (5,5), (...
posted on 14 Jul 2017
posted on 6 Oct 2023
I applied via Campus Placement and was interviewed in Apr 2023. There were 2 interview rounds.
Level was medium to hard
To print a tree in anticlockwise direction, start from the bottom left and traverse each level from right to left.
Start from the bottom left of the tree
Traverse each level from right to left
Print the nodes as you traverse
posted on 20 Nov 2024
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
Coding round where they ask few coding questions
posted on 13 Aug 2024
3 rounds online, dsa, hr
posted on 22 Aug 2024
I applied via Campus Placement and was interviewed in Feb 2024. There were 3 interview rounds.
It was online coding test consist of 2 question
One from DP and other graph
One question of DP within in 45 min time constraints
Floor value of square root of a number is the largest integer less than or equal to the square root.
The floor value of square root of a number can be found using mathematical functions like floor() or integer division.
For example, the floor value of square root of 16 is 4, as sqrt(16) = 4.
For non-perfect square numbers, the floor value of square root can be calculated using approximation methods.
I applied via Company Website and was interviewed before Aug 2022. There were 3 interview rounds.
Reverse a given string using for loop
I applied via Company Website and was interviewed in Jan 2024. There was 1 interview round.
Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as the same type.
Polymorphism is a fundamental concept in object-oriented programming.
It enables code reusability and flexibility.
Polymorphism can be achieved through method overriding and method overloading.
Example: A parent class Animal can have multiple child classes like Dog, Cat, and Bird. They can ...
Static polymorphism refers to the ability of a programming language to select the appropriate function or method at compile-time.
Static polymorphism is achieved through function overloading or operator overloading.
It allows different functions with the same name but different parameters to be called based on the arguments provided.
The selection of the appropriate function is determined at compile-time, based on the sta...
Dynamic polymorphism is the ability of an object to take on many forms based on the context it is used.
It allows objects of different classes to be treated as objects of a common superclass.
It is achieved through method overriding and virtual functions.
Example: A superclass 'Animal' with subclasses 'Dog' and 'Cat'. Both can be treated as 'Animal' objects.
based on 1 interview
Interview experience
based on 3 reviews
Rating in categories
Senior Member of Technical Staff
42
salaries
| ₹0 L/yr - ₹0 L/yr |
Member Technical Staff
19
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Staff Member Lead
12
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
7
salaries
| ₹0 L/yr - ₹0 L/yr |
Cadence Design Systems
Synopsys
Mentor Graphics
Ansys Software Private Limited