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 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 ...
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 ...
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 before Mar 2021. There were 3 interview rounds.
Aptitude test
Current affairs
I applied via Campus Placement and was interviewed in Nov 2024. There was 1 interview round.
Easy to medium leetcode questions
I applied via LinkedIn and was interviewed in Sep 2021. There was 1 interview round.
Spring is a framework for building Java applications, while Spring Boot is a tool for quickly creating Spring-based applications.
Spring provides a comprehensive framework for building Java applications, while Spring Boot is a tool that simplifies and accelerates the process of creating Spring-based applications.
Spring requires more configuration and setup, while Spring Boot provides a pre-configured environment that re...
A program to check if two strings are anagrams of each other.
Create two character arrays from the input strings
Sort the arrays
Compare the sorted arrays to check if they are equal
Using Streams API to filter and map an array of strings
Create a stream from the array using Arrays.stream()
Use filter() to select elements that meet a certain condition
Use map() to transform each element into a new value
Use toArray() to convert the stream back into an array
REST API is a web service that uses HTTP requests to access and manipulate data.
REST stands for Representational State Transfer
It is an architectural style for building web services
It uses HTTP methods like GET, POST, PUT, DELETE to perform operations on resources
It is stateless and can be cached
It returns data in various formats like JSON, XML, etc.
I applied via LinkedIn and was interviewed in Nov 2023. There were 3 interview rounds.
Mcq + dsa JavaScript questions
based on 2 interviews
Interview experience
Senior Software Engineer
77
salaries
| ₹13.8 L/yr - ₹40 L/yr |
Software Engineer
61
salaries
| ₹6.6 L/yr - ₹20.5 L/yr |
QA Engineer
21
salaries
| ₹7 L/yr - ₹16.4 L/yr |
Software Developer
16
salaries
| ₹11.6 L/yr - ₹20 L/yr |
Associate Software Engineer
16
salaries
| ₹5.2 L/yr - ₹10 L/yr |
Maxgen Technologies
Value Point Systems
JoulestoWatts Business Solutions
F1 Info Solutions and Services