Filter interviews by
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during compilation.
Variable declarations are hoisted to the top of their scope but not their initializations.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
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 period of time.
It helps in optimizing performance by preventing excessive function calls, especially in scenarios like scroll events or API requests.
Example: Throttling can be used to limit the rate at which a user can resize a window, ensuring smoother perfo
Debouncing is a technique used to limit the number of times a function is called in a short period of time.
Debouncing is often used in scenarios like search bars where you want to wait for the user to finish typing before making an API call.
It involves setting a delay before executing a function after the last time it was called.
Debouncing helps in optimizing performance by reducing unnecessary function calls.
Example: ...
Event coupling is the dependency between different parts of a system based on events.
Event coupling occurs when one component triggers an event that another component listens for.
It can lead to tight coupling between components, making the system harder to maintain.
Reducing event coupling can be achieved by using a centralized event bus or implementing a pub/sub pattern.
Example: A button click event in a UI component t
Use Set to remove duplicates from array of strings
Create a Set from the array to automatically remove duplicates
Convert the Set back to an array to get unique values
Example: const arr = ['apple', 'banana', 'apple', 'orange']; const uniqueArr = [...new Set(arr)];
Reverse a linked list by changing the direction of pointers
Create three pointers: prev, current, next
Iterate through the linked list, updating pointers to reverse the direction
Return the new head of the reversed linked list
Closure function is a function defined inside another function, with access to the outer function's variables.
Closure functions have access to the outer function's variables even after the outer function has finished executing.
They can be used to create private variables and functions in JavaScript.
Example: function outerFunction() { let outerVar = 'I am outer'; function innerFunction() { console.log(outerVar); } retur
I applied via Referral and was interviewed in Sep 2023. There were 2 interview rounds.
Top trending discussions
posted on 24 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Performance optimization techniques for React JS frontend development
Use React.memo for optimizing functional components
Avoid unnecessary re-renders by using shouldComponentUpdate or PureComponent for class components
Implement code splitting to reduce initial load time
Use lazy loading for components that are not immediately needed
Optimize images and assets for faster loading times
Minimize the use of inline styles and u...
I applied via Walk-in and was interviewed in Jul 2024. There were 2 interview rounds.
Mostly questions are start pattern related
I am a passionate React Js developer with 5 years of experience in building user-friendly and responsive web applications.
5 years of experience in React Js development
Strong knowledge of HTML, CSS, and JavaScript
Experience in building responsive web applications
Passionate about creating user-friendly interfaces
I am impressed by the company's innovative projects and collaborative work culture.
I admire the company's commitment to pushing boundaries in technology.
I am excited about the opportunity to work with a talented team of developers.
I believe my skills and experience align well with the company's goals and values.
posted on 21 Aug 2024
Decent questions asked in the online mcq test
Redux is a predictable state container for JavaScript apps, while Context API is a feature in React for passing data through the component tree.
Redux is more suitable for larger applications with complex state management needs.
Context API is simpler to use and is built into React, reducing the need for additional libraries.
Redux provides a single source of truth for the application state, making it easier to debug and ...
I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.
Enums in TypeScript are a way to define a set of named constants. Shallow copy only copies the reference, while deep copy creates a new object. Virtual DOM is a lightweight copy of the actual DOM. Closures are functions that have access to their own scope and the scope of their containing function.
Enums in TypeScript are used to define a set of named constants. For example, enum Color { Red, Green, Blue }
Shallow copy c...
posted on 24 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Performance optimization techniques for React JS frontend development
Use React.memo for optimizing functional components
Avoid unnecessary re-renders by using shouldComponentUpdate or PureComponent for class components
Implement code splitting to reduce initial load time
Use lazy loading for components that are not immediately needed
Optimize images and assets for faster loading times
Minimize the use of inline styles and u...
I applied via Walk-in and was interviewed in Jul 2024. There were 2 interview rounds.
Mostly questions are start pattern related
I am a passionate React Js developer with 5 years of experience in building user-friendly and responsive web applications.
5 years of experience in React Js development
Strong knowledge of HTML, CSS, and JavaScript
Experience in building responsive web applications
Passionate about creating user-friendly interfaces
I am impressed by the company's innovative projects and collaborative work culture.
I admire the company's commitment to pushing boundaries in technology.
I am excited about the opportunity to work with a talented team of developers.
I believe my skills and experience align well with the company's goals and values.
posted on 19 Feb 2024
I applied via Approached by Company and was interviewed in Jan 2024. There were 2 interview rounds.
Focused on JS questions
React is a JavaScript library for building user interfaces.
React is a declarative, efficient, and flexible JavaScript library for building user interfaces.
It allows developers to create reusable UI components.
React uses a virtual DOM to improve performance by only updating the necessary parts of the actual DOM.
React follows a unidirectional data flow, making it easier to understand how data changes over time.
React can ...
Interview experience
Senior Software Engineer
66
salaries
| ₹14.5 L/yr - ₹30 L/yr |
Software Engineer
61
salaries
| ₹6.6 L/yr - ₹20.5 L/yr |
QA Engineer
21
salaries
| ₹7 L/yr - ₹19.5 L/yr |
Software Developer
16
salaries
| ₹5.3 L/yr - ₹20 L/yr |
Associate Software Engineer
16
salaries
| ₹5.2 L/yr - ₹10 L/yr |
TCS
Infosys
Wipro
HCLTech