Filter interviews by
I applied via Campus Placement and was interviewed in Feb 2023. There were 4 interview rounds.
In my first round of the interview was an aptitude test. Some English, mathematics, reasoning and general knowledge questions were there.
In this 2nd round there was some English Multiple Choice Questions.
Components in React are reusable, independent pieces of code that manage their own state and can be composed together to build complex user interfaces.
Components are the building blocks of React applications
They can be class components or functional components
Components can have their own state and lifecycle methods
Components can be reused throughout the application
Example:
Functional components and class components are not the same in React. Functional components are simpler and more lightweight, while class components have additional features like state and lifecycle methods.
Functional components are stateless and are just JavaScript functions that return JSX.
Class components have access to state and lifecycle methods like componentDidMount and componentDidUpdate.
Functional components a...
React is reusable because it allows developers to create components that can be easily reused throughout an application.
React components can be easily reused in different parts of an application, saving time and effort.
Components can be composed together to build complex UIs, promoting reusability.
React's virtual DOM efficiently updates only the components that have changed, improving performance and reusability.
Top trending discussions
posted on 7 May 2024
I applied via LinkedIn and was interviewed in Nov 2023. There were 2 interview rounds.
Was given a bar raiser round where been asked problems on dp, create a crud shopping cart type webapp in react, and one css problem to align all boxes across diagonal
Mostly around resume and performance optimisation
Implementing infinite scroll in React involves dynamically loading content as the user scrolls down the page.
Use a scroll event listener to detect when the user reaches the bottom of the page
Fetch more data from the server and append it to the existing content
Update the state to reflect the new content and trigger a re-render of the component
Flatten deeply nested array of strings
Use recursion to iterate through each element in the array
Check if each element is an array, if so, recursively call the function
Concatenate the strings from each nested array into a single flat array
I appeared for an interview before Mar 2016.
Joins, Jobs, stored procedures,cursors.
posted on 10 Jul 2024
LRU cache design involves maintaining a cache with limited capacity and removing the least recently used item when the cache is full.
Use a doubly linked list to maintain the order of items based on their usage.
Implement a hash map for fast access to items in the cache.
When a new item is accessed, move it to the front of the linked list to mark it as the most recently used.
When the cache is full, remove the item at the ...
posted on 16 Oct 2024
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
1)Buy and sell stock
2)2 sum
3) system design
4) Elastic search
5) deployment
I applied via Campus Placement and was interviewed in Dec 2020. There were 3 interview rounds.
Static is a keyword in Java used to create class-level variables and methods.
Static variables are shared among all instances of a class
Static methods can be called without creating an instance of the class
Static blocks are used to initialize static variables
Static import is used to import static members of a class
The program replaces consecutive same characters in a string with a single '$'.
Iterate through each character in the string
Compare the current character with the next character
If they are the same, replace the next character with '$'
Continue until the end of the string
Function overloading is having multiple functions with the same name but different parameters. Function overriding is having a derived class implement a method with the same name and parameters as a method in its base class.
Function overloading is used to provide different ways of calling a function with different parameters.
Function overriding is used to provide a specific implementation of a method in a derived class...
Simple algorithm question about sorting
The time complexity of the quicksort algorithm is O(n log n).
Quicksort has an average time complexity of O(n log n).
The best case time complexity of quicksort is O(n log n) when the pivot element divides the array into two equal halves.
The worst case time complexity of quicksort is O(n^2) when the pivot element is the smallest or largest element in the array.
posted on 16 Sep 2022
I applied via Campus Placement and was interviewed before Sep 2021. There were 2 interview rounds.
It had more than 30 aptitude questions and 2 coding questions
I applied via Recruitment Consulltant and was interviewed in Nov 2021. There were 3 interview rounds.
Basic data structure related coding questions like creating a linked list and adding items to it median.
Max heap implementation.
Concurrency related questions.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Senior Analyst
2.7k
salaries
| ₹3.5 L/yr - ₹13.5 L/yr |
Software Engineer
984
salaries
| ₹8.5 L/yr - ₹29.6 L/yr |
Operations Analyst
767
salaries
| ₹2 L/yr - ₹6 L/yr |
Associate Vice President
730
salaries
| ₹13 L/yr - ₹44 L/yr |
Analyst
632
salaries
| ₹1.4 L/yr - ₹7.1 L/yr |
HDFC Bank
ICICI Bank
Axis Bank
Kotak Mahindra Bank