i
Publicis Sapient
Filter interviews by
Web performance and optimization are crucial for user experience and SEO.
Minimize HTTP requests
Optimize images and videos
Use a content delivery network (CDN)
Minimize server response time
Enable browser caching
Use Gzip compression
Minimize CSS and JavaScript files
Use lazy loading for images and videos
What people are saying about Publicis Sapient
I applied via LinkedIn and was interviewed in Sep 2024. There were 3 interview rounds.
Basic interview on question like aptitude, javascript, typescript and react-native question
Function currying is a technique in functional programming where a function with multiple arguments is transformed into a sequence of nested functions, each taking a single argument.
Currying allows you to partially apply a function by fixing a number of arguments, which creates a new function.
It helps in creating reusable functions and improves code readability.
Example: const add = (a) => (b) => a + b; const add5 = add
IIFE stands for Immediately Invoked Function Expression, used for creating a function that is executed immediately after it is defined.
IIFE is used to create a private scope for variables to avoid polluting the global scope.
It is commonly used in React Native development to encapsulate code and prevent naming conflicts.
Example: (function() { console.log('IIFE executed'); })();
Call stack is used to keep track of function calls, while event loop manages asynchronous operations in JavaScript.
Call stack is a data structure that keeps track of function calls in a program.
When a function is called, it is added to the top of the call stack. When the function completes, it is removed from the stack.
Event loop is responsible for managing asynchronous operations in JavaScript, ensuring that they are ...
I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
posted on 4 May 2024
I applied via Approached by Company and was interviewed in Apr 2024. There were 3 interview rounds.
Custom hooks in React allow for reusable logic across components.
Custom hooks are functions that use React hooks internally and can be reused across multiple components.
They can encapsulate complex logic and state management, making components more modular and easier to maintain.
Example: A custom hook for fetching data from an API and handling loading and error states can be used in multiple components.
Example: A custo...
posted on 8 Mar 2024
I applied via Referral and was interviewed in Feb 2024. There was 1 interview round.
Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
Promises can be created using the Promise constructor or by using async/await syntax.
useState is used to manage state in functional components, while useEffect is used to perform side effects in functional components.
useState is used to declare state variables in functional components.
useEffect is used to perform side effects in functional components, such as data fetching, subscriptions, or manually changing the DOM.
useState does not trigger re-renders, while useEffect can be used to trigger re-render...
Callback hell is a situation where multiple nested callbacks make the code difficult to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Leads to deeply nested code structure which is hard to understand
Can be avoided by using Promises, async/await, or modularizing code
Traditional functions are defined using the function keyword, while arrow functions are defined using a concise syntax with =>.
Traditional functions are hoisted, while arrow functions are not.
Arrow functions do not have their own 'this' keyword, they inherit it from the parent scope.
Arrow functions are more concise and easier to read compared to traditional functions.
Traditional functions are better for methods in obje...
Creating a counter in React to increment and decrement a value.
Create a state variable to store the count value
Use setState to update the count value
Render the count value in the component
Add buttons to increment and decrement the count value
Program to find frequency of letters in a string
Create an object to store the frequency of each letter
Loop through the string and increment the count of each letter in the object
Convert the object into an array of strings with letter and frequency pairs
Iterate through the given string to check if the substring is present.
Iterate through the given string and check if each character matches the first character of the substring.
If a match is found, check the subsequent characters to see if they form the substring.
Return true if the entire substring is found within the given string, otherwise return false.
posted on 4 Apr 2024
I applied via Walk-in and was interviewed in Mar 2024. There were 2 interview rounds.
What is react , feature, axios, API
Redux Redux toolkit Redux thunk
I applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Jan 2024. There were 3 interview rounds.
Senior Associate
2.2k
salaries
| ₹11 L/yr - ₹37.8 L/yr |
Associate Technology L2
1.5k
salaries
| ₹6.5 L/yr - ₹20 L/yr |
Senior Associate Technology L1
1.2k
salaries
| ₹10 L/yr - ₹32 L/yr |
Senior Software Engineer
722
salaries
| ₹9.2 L/yr - ₹36 L/yr |
Senior Associate 2
599
salaries
| ₹14.1 L/yr - ₹41 L/yr |
Accenture
IBM
TCS
Infosys