Filter interviews by
React has three main phases in its life cycle: Mounting, Updating, and Unmounting.
Mounting phase: Component is created and inserted into the DOM.
Updating phase: Component is updated in response to changes in props or state.
Unmounting phase: Component is removed from the DOM.
Hooks in functional components allow for stateful logic to be used in functional components.
Hooks were introduced in React 16.8 to allow functional components to have state and lifecycle methods.
useState and useEffect are commonly used hooks in functional components.
Hooks can be used to manage state, perform side effects, and more in functional components.
Top trending discussions
Data types are classifications that specify which type of value a variable can hold.
Primitive data types: int, float, char, boolean
Non-primitive data types: arrays, classes, interfaces
Derived data types: pointers, arrays, functions
I applied via Referral and was interviewed in Nov 2023. There was 1 interview round.
I applied via LinkedIn and was interviewed in Oct 2023. There were 3 interview rounds.
Good and competitive
Challenging taks and should have very good knowledge in DSA
I applied via Naukri.com and was interviewed before May 2023. There was 1 interview round.
Truncate is faster but cannot be rolled back, while Delete is slower but can be rolled back.
Truncate removes all rows from a table quickly, but cannot be rolled back.
Delete removes rows one by one, slower than Truncate, but can be rolled back using a transaction.
Truncate resets the identity seed of the table, while Delete does not.
Connect nodes to their right in a binary tree using an extra pointer.
Traverse the tree using level order traversal
For each node, connect its right child to the next node in the level
If there is no next node, set the right child to null
Design considerations for an elevator system with 5 elevators and 50 floors.
Traffic patterns and peak hours should be analyzed to determine the optimal number of elevators to be in operation at any given time.
Elevators should be programmed to prioritize stops based on the direction of travel and the proximity of the requested floor to the elevator's current location.
The system should be designed to minimize wait times ...
Given two linked lists, check if they have a common node.
Traverse both lists and compare each node's memory address
Use a hash table to store memory addresses of nodes in one list and check for matches in the other list
If one list is shorter, traverse it first and then start traversing the longer list from the difference in length
Find if an array has a majority element in O(n)
Iterate through the array and keep track of the count of each element
If the count of any element is greater than half the length of the array, return true
Otherwise, return false
Find element in 2D array which is max in column and min in row with minimum comparisons
Iterate over rows and columns to find max and min elements respectively
Compare the max element of a column with the min element of its row
Return the element if it satisfies the condition
Consider edge cases like multiple elements satisfying the condition
Return an array with only unique elements
Use a Set to store unique elements
Loop through the array and add each element to the Set
Convert the Set back to an array and return it
I applied via Naukri.com and was interviewed in Jan 2024. There were 4 interview rounds.
Reasoning english aptitude
Topic about business
Java coding about files
Marketing Manager
4
salaries
| ₹2.5 L/yr - ₹2.5 L/yr |
IT Trainer
4
salaries
| ₹1.8 L/yr - ₹1.8 L/yr |
Administration Executive
3
salaries
| ₹1.4 L/yr - ₹3 L/yr |
Cognizant
Teleperformance
Reliance Retail
iEnergizer