Filter interviews by
Tree, LinkedList, Array
The depth of a tree is the length of the longest path from the root node to any leaf node.
Depth of a tree can be found using depth-first search (DFS) algorithm.
The depth of a tree is equal to the maximum depth of its children plus one.
For example, in a binary tree, the depth of the tree is the maximum depth of the left and right subtrees plus one.
Merge two sorted arrays into a single sorted array
Create a new array to store the merged result
Use two pointers to iterate through both arrays and compare elements
Add the smaller element to the new array and move the pointer for that array
Top trending discussions
posted on 7 May 2024
There were 6 questions to be solved. 3 average and 3 tough questions.
posted on 15 Feb 2024
Real DOM is the actual representation of the HTML structure, while Virtual DOM is a lightweight copy used for efficient updates.
Real DOM is slower as it directly manipulates the HTML structure.
Virtual DOM is faster as it updates the lightweight copy and then syncs with the real DOM.
React uses the Virtual DOM to minimize unnecessary re-rendering of components.
Virtual DOM allows for efficient batch updates, improving per...
I applied via Company Website and was interviewed before Jan 2021. There were 3 interview rounds.
Pumps and aerators are used to move fluids and gases respectively.
Pumps work by creating a pressure difference to move fluids from one place to another.
Aerators introduce air into liquids to increase oxygen levels and promote biological processes.
Types of pumps include centrifugal, positive displacement, and jet pumps.
Types of aerators include surface aerators, diffused aerators, and mechanical aerators.
I applied via Walk-in and was interviewed before May 2021. There were 2 interview rounds.
I appeared for an interview before Feb 2021.
posted on 26 Oct 2024
I appeared for an interview before Oct 2023.
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There were 3 interview rounds.
Unit testing for adding two numbers
Create a test case with two numbers and expected sum
Call the function that adds two numbers
Assert that the result matches the expected sum
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Senior Software Engineer
99
salaries
| ₹13.2 L/yr - ₹33.2 L/yr |
Software Engineer
93
salaries
| ₹7 L/yr - ₹17.5 L/yr |
Principal Software Engineer
45
salaries
| ₹25 L/yr - ₹52.7 L/yr |
Staff Software Engineer
44
salaries
| ₹8.4 L/yr - ₹20 L/yr |
Firmware Engineer
26
salaries
| ₹8 L/yr - ₹20 L/yr |
Ion Exchange India
Re Sustainability Limited
DuPont
VA Tech Wabag