i
Publicis Sapient
Filter interviews by
I was interviewed in Mar 2024.
Semantic elements in HTML are used to give meaning to the content, making it more accessible and SEO-friendly.
Semantic elements like <header>, <footer>, <nav>, <article>, <section>, <aside>, <main>, <figure>, <figcaption>, <details>, <summary>, etc., provide structure and meaning to the content.
They help search engines understand the content better, impr...
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
Write a program in vanila js to fetch api data and show in dropdow after select it should call api for perticular data and also should cache value of if it is recent api call happen
I was interviewed in Dec 2022.
Answering how to fetch data from API and display in UI list format for Reactjs Developer interview.
Use fetch or axios to fetch data from API
Store the data in state or Redux store
Map through the data and display in UI list format
Handle loading and error states
Example: fetch('https://api.example.com/data').then(response => response.json()).then(data => setData(data))
Example: {data.map(item =>
Publicis Sapient interview questions for designations
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
Splice is used to add/remove elements from an array, while slice is used to extract a portion of an array without modifying the original array.
Splice modifies the original array, while slice does not.
Splice can add elements, remove elements, or replace elements in an array.
Slice returns a new array with the selected elements from the original array.
Example: const arr = [1, 2, 3, 4, 5]; arr.splice(2, 1); // removes elem...
To reverse a string, iterate through the characters and swap them from start to end.
Create an empty string to store the reversed result.
Iterate through the characters of the input string from end to start.
Append each character to the empty string to reverse the order.
Return the reversed string.
I applied via Naukri.com and was interviewed in Dec 2022. There were 2 interview rounds.
Fragments in React.js are used to group multiple elements without adding an extra node to the DOM.
Fragments are a way to group multiple elements without using a wrapper element.
They help in avoiding unnecessary divs in the DOM.
Fragments can improve performance by reducing the number of DOM nodes.
They are useful when returning multiple elements from a component's render method.
Fragments can be written using the
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
React offers advantages such as virtual DOM for improved performance, reusable components, and easy integration with other libraries.
Virtual DOM for efficient updates and improved performance
Reusable components for easier development and maintenance
Easy integration with other libraries like Redux for state management
Support for server-side rendering for better SEO performance
Performance optimization in React Js can be achieved through code splitting, memoization, virtualization, and minimizing re-renders.
Implement code splitting to load only necessary components when needed
Use memoization techniques like useMemo and useCallback to prevent unnecessary re-renders
Implement virtualization for long lists or tables to render only visible items
Minimize re-renders by using shouldComponentUpdate or
useMemo and useCallback are hooks in React used for optimizing performance by memoizing values and functions respectively.
useMemo is used to memoize the result of a function so that it is only recomputed when its dependencies change.
useCallback is used to memoize a function instance so that it is not recreated on every render unless its dependencies change.
Both hooks help in optimizing performance by preventing unneces...
based on 4 interviews
Interview experience
based on 1 review
Rating in categories
Senior Associate
2.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Technology L2
1.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate Technology L1
1.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
743
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate 2
626
salaries
| ₹0 L/yr - ₹0 L/yr |
Accenture
IBM
TCS
Infosys