i
Deloitte
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Implementing pagination on scroll allows for loading more content as the user reaches the bottom of the page.
Use a scroll event listener to detect when the user has reached the bottom of the page
Make an API call to fetch more data when the bottom is reached
Append the new data to the existing content on the page
Immediately invoked function expressions (IIFE) are functions that are executed immediately after they are created.
IIFE is defined and invoked at the same time using parentheses at the end of the function declaration.
Anonymous functions do not have a name and can be used as IIFE by wrapping them in parentheses.
IIFE is commonly used to create a private scope for variables and functions.
Closures are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function even after the parent function has returned
They help in creating private variables and functions in JavaScript
Closures are commonly used in event handlers and callbacks
A promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure callbacks.
Example: Fetch API returns a promise when making an HTTP request.
Lazy loading is a technique used in web development to defer loading non-essential resources until they are needed.
Lazy loading helps improve page load times by only loading resources when they are required.
It is commonly used for images, videos, and other media files on a webpage.
Lazy loading can be implemented using JavaScript libraries like Intersection Observer or by using native browser features like loading='lazy
I applied via Approached by Company and was interviewed in Jul 2023. There was 1 interview round.
I have used features like semantic tags, forms, tables, and multimedia elements in HTML.
Semantic tags like
Forms for user input with
Tables for organizing data with
Multimedia elements like , |
Flex in CSS is a layout module that allows elements to align and distribute space within a container.
Flexbox is used for creating flexible and responsive layouts.
It allows for easy alignment and distribution of elements within a container.
Flex properties include flex-direction, justify-content, align-items, and flex-grow.
Flex is a CSS layout model that allows responsive and flexible design. Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their scope. Function expressions are anonymous functions assigned to variables.
Flex is used for creating responsive and flexible layouts in CSS.
Hoisting in JavaScript moves variable and function declarations to the top of their scope.
Function expressi...
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
Merge sort has a time complexity of O(n log n) in the worst case scenario.
Merge sort divides the array into two halves, sorts them recursively, and then merges them back together.
The time complexity of merge sort is O(n log n) in the worst case scenario.
For example, sorting an array of 8 elements would take 3 recursive calls to merge sort.
Create a palindrome checker using React JS to display on the UI
Create a input field for user to enter a string
Use state to store the input string
Create a function to check if the input string is a palindrome
Display the result on the UI
Javascript question on promise, callbacks, hosting
posted on 21 Nov 2024
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
What is React? What is React architecture ? What is dynamic imports? What is interceptor?
I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.
React JS Basic and JS Deep Dive
I applied via Recruitment Consulltant and was interviewed before Dec 2021. There were 2 interview rounds.
ReactJS is a JavaScript library for building user interfaces.
Developed by Facebook
Uses a virtual DOM for efficient updates
Supports server-side rendering
Can be used with other libraries and frameworks
Uses JSX syntax to write HTML-like code in JavaScript
Example: Facebook, Instagram, Airbnb, Netflix use ReactJS
UseState() is a hook in React that allows functional components to have state variables.
useState() is used to declare state variables in functional components.
It returns an array with two elements: the current state value and a function to update it.
The function to update the state can be called with a new value or a function that takes the previous value as an argument.
Example: const [count, setCount] = useState(0);
Ex
posted on 21 Jul 2024
posted on 20 Mar 2024
I applied via Approached by Company and was interviewed in Sep 2023. There was 1 interview round.
based on 1 review
Rating in categories
Consultant
32.8k
salaries
| ₹6.2 L/yr - ₹23 L/yr |
Senior Consultant
20.9k
salaries
| ₹11 L/yr - ₹42 L/yr |
Analyst
13.9k
salaries
| ₹3.8 L/yr - ₹12.6 L/yr |
Assistant Manager
9.9k
salaries
| ₹7.7 L/yr - ₹24 L/yr |
Manager
7k
salaries
| ₹15.7 L/yr - ₹52 L/yr |
Accenture
PwC
Ernst & Young
Cognizant