i
Capgemini
Filter interviews by
Virtual DOM is a lightweight copy of the actual DOM, used for efficient updates in React applications.
Virtual DOM is a concept in React where a lightweight copy of the actual DOM is maintained.
When changes are made to the virtual DOM, React compares it with the actual DOM and only updates the necessary parts.
This helps in improving performance by minimizing the number of updates to the actual DOM.
Hooks are a new addition in React 16.8 that allow you to use state and other React features without writing a class.
Hooks are functions that let you use state and other React features in functional components.
useEffect is a hook that lets you perform side effects in function components.
It is similar to componentDidMount, componentDidUpdate, and componentWillUnmount in class components.
useEffect takes two arguments...
Use the spread operator or Object.assign() method to copy an object in JavaScript.
Use the spread operator: const newObj = { ...oldObj };
Use Object.assign() method: const newObj = Object.assign({}, oldObj);
Throttling is a technique used to control the rate at which a function is executed.
Throttling limits the number of times a function can be called over a specified time period.
It helps in optimizing performance by preventing excessive function calls, especially in scenarios like scroll events or API requests.
Example: Limiting the number of API calls to a server to prevent overwhelming the server with too many reque...
What people are saying about Capgemini
Redux is a state management library for JavaScript applications. Middleware is a function that intercepts actions before they reach the reducer.
Redux is used to manage the state of an application in a predictable way.
Middleware in Redux allows you to write logic that has access to the actions being dispatched.
Common middleware in Redux includes logging, asynchronous API calls, and routing.
Example: Redux Thunk is a...
Props are used to pass data from parent to child components in React. Ternary operator is a conditional operator that evaluates a condition and returns one of two values.
Props are read-only and help in maintaining the unidirectional data flow in React
Ternary operator syntax: condition ? value if true : value if false
Example of props:
Example of ternary operator: const message = isTr...
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Find the max values, promises, async await
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Redux tool kit and redux
Props are used to pass data from parent to child components in React. Ternary operator is a conditional operator that evaluates a condition and returns one of two values.
Props are read-only and help in maintaining the unidirectional data flow in React
Ternary operator syntax: condition ? value if true : value if false
Example of props:
Example of ternary operator: const message = isTrue ? ...
Redux is a state management library for JavaScript applications. Middleware is a function that intercepts actions before they reach the reducer.
Redux is used to manage the state of an application in a predictable way.
Middleware in Redux allows you to write logic that has access to the actions being dispatched.
Common middleware in Redux includes logging, asynchronous API calls, and routing.
Example: Redux Thunk is a popu...
Basic coding nd programming and moderate level
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Virtual DOM is a lightweight copy of the actual DOM, used for efficient updates in React applications.
Virtual DOM is a concept in React where a lightweight copy of the actual DOM is maintained.
When changes are made to the virtual DOM, React compares it with the actual DOM and only updates the necessary parts.
This helps in improving performance by minimizing the number of updates to the actual DOM.
Hooks are a new addition in React 16.8 that allow you to use state and other React features without writing a class.
Hooks are functions that let you use state and other React features in functional components.
useEffect is a hook that lets you perform side effects in function components.
It is similar to componentDidMount, componentDidUpdate, and componentWillUnmount in class components.
useEffect takes two arguments: a f...
I applied via Approached by Company and was interviewed in Feb 2024. There was 1 interview round.
Throttling is a technique used to control the rate at which a function is executed.
Throttling limits the number of times a function can be called over a specified time period.
It helps in optimizing performance by preventing excessive function calls, especially in scenarios like scroll events or API requests.
Example: Limiting the number of API calls to a server to prevent overwhelming the server with too many requests.
Use the spread operator or Object.assign() method to copy an object in JavaScript.
Use the spread operator: const newObj = { ...oldObj };
Use Object.assign() method: const newObj = Object.assign({}, oldObj);
I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.
Easy logical questions
basic quant
Easy level coding questions
Counting frequency of alphabets
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
Faced various technical challenges, including system integration and performance optimization, which I successfully navigated through strategic solutions.
Integration of legacy systems with modern applications: I utilized APIs and middleware to ensure seamless data flow.
Performance bottlenecks in a web application: Implemented caching strategies and optimized database queries, resulting in a 40% speed increase.
Debugging...
based on 8 interview experiences
Difficulty level
Duration
based on 7 reviews
Rating in categories
Consultant
58.6k
salaries
| ₹8.9 L/yr - ₹16.5 L/yr |
Associate Consultant
51.2k
salaries
| ₹4.5 L/yr - ₹10 L/yr |
Senior Consultant
50k
salaries
| ₹12.4 L/yr - ₹21 L/yr |
Senior Analyst
22.1k
salaries
| ₹3.1 L/yr - ₹7.5 L/yr |
Senior Software Engineer
21.6k
salaries
| ₹4.7 L/yr - ₹12.9 L/yr |
Wipro
Accenture
Cognizant
TCS