Filter interviews by
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.
Exam...
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 ...
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.
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 compon...
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); } ...
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
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...
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 ...
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
Generator functions are functions that can be paused and resumed, allowing for lazy evaluation of data.
Generator functions use the yield keyword to pause execution and return a value.
They can be used to generate an infinite sequence of values.
They are memory efficient as they only generate values when needed.
Example: function* myGenerator() { yield 1; yield 2; yield 3; }
Example: const infiniteGenerator = function*() { ...
Push notifications can be implemented in Android and iOS using Firebase Cloud Messaging (FCM) and Apple Push Notification service (APNs) respectively.
For Android, integrate FCM SDK in the app and use FCM console to send notifications.
For iOS, create an APNs certificate, configure the app to receive notifications, and use APNs to send notifications.
Both platforms require handling of notification payload in the app to di...
I used React Native for my last app.
Developed UI components using React Native
Integrated APIs to fetch and display data
Implemented Redux for state management
Used Firebase for authentication and database
Optimized app performance using React Native Debugger
Functional components are stateless and return UI elements based on input props, while non-functional components have state and can change UI based on user interaction.
Functional components are simpler and easier to test than non-functional components.
Non-functional components can have state and lifecycle methods, while functional components cannot.
Examples of functional components include buttons, labels, and icons, w...
posted on 15 Sep 2021
I appeared for an interview in Dec 2020.
Round duration - 60 minutes
Round difficulty - Medium
The round had quantitative questions along with some logical reasoning and english section and fundamentals of DBMS ,OS and Data structures and some other such topics
Disk scheduling algorithms manage the order in which read/write requests are serviced on a disk.
Common disk scheduling algorithms include FCFS, SSTF, SCAN, C-SCAN, LOOK, and C-LOOK.
FCFS (First-Come, First-Served) serves requests in the order they arrive.
SSTF (Shortest Seek Time First) prioritizes the request closest to the current head position.
SCAN moves the disk arm from one end to the other, serving requests along t...
Round duration - 90 minutes
Round difficulty - Medium
The editor and the environment was great and not disturbing like many have.
They had their own test cases to check the scope of our code.
Given an array of numbers, the task is to find the maximum sum of any contiguous subarray of the array.
The first line of input contains the size of the arr...
Find the maximum sum of any contiguous subarray in an array of numbers in O(N) time.
Use Kadane's algorithm to find the maximum subarray sum in O(N) time.
Initialize two variables: maxEndingHere and maxSoFar to keep track of the maximum sum.
Iterate through the array and update the variables accordingly.
Return the maxSoFar as the result.
Round duration - 40 minutes
Round difficulty - Medium
It had only mcq questions but we could not navigate through the questions it had some reasoning and some dbms topics along with data structure ,memory ,cache memory and other topics
To find the age of an employee from the personal details table in SQL, you can calculate the difference between the current date and the employee's birthdate.
Use the DATEDIFF function in SQL to calculate the difference between the current date and the employee's birthdate.
Divide the result by 365 to get the age in years.
Consider leap years for more accurate results.
Round duration - 10 minutes
Round difficulty - Medium
The interviewer was polite and asked few questions from data structures and some from DBMS and some web question and about my project.
Primary key uniquely identifies a record in a table, while candidate key can also uniquely identify a record but is not chosen as primary key.
Primary key is chosen as the main unique identifier for a table
Candidate key is a unique key that could also be chosen as primary key
A table can have multiple candidate keys but only one primary key
Example: In a table of students, 'student_id' could be a primary key while 'email'...
Round duration - 12 minutes
Round difficulty - Medium
The interviewer asked me about my project and told me to describe myself in one word and justify that and asked my personal skills and asked some technical questions as well
Pickling is a process of preserving or extending the shelf life of food by storing it in a solution of salt, vinegar, or brine.
Pickling involves submerging food in a solution of salt, vinegar, or brine to preserve it.
Common examples of pickled foods include cucumbers (pickles), onions, and cabbage.
Pickling can also enhance the flavor of food by infusing it with spices and herbs.
The acidity of the pickling solution help...
Tip 1 : Must go for interviews questions present online for topics you have mentioned.
Tip 2 : Be updated with the latest technology and have those concepts clear in your mind and do prepare your projects and have a clear picture of it to explain that
Tip 3 : For preparing algorithms do practice them, that is the best way and lastly you can check your knowledge by solving mcqs and quizzes of those topics to have confidence.
Tip 1 : Do not mention anything in your resume that you are not confident about. And prepare your resume well before interview.
Tip 2 : Mention your projects and technical skills and your github link to showcase your project portfolio that will have a great impression
posted on 1 Mar 2025
posted on 26 May 2025
I appeared for an interview in Apr 2025, where I was asked the following questions.
Optional chaining allows safe access to deeply nested object properties without causing runtime errors if a property is undefined or null.
Prevents runtime errors when accessing properties of an object that may not exist.
Syntax: Use the '?' operator before accessing a property, e.g., obj?.property.
Example: const name = user?.profile?.name; // returns undefined if user or profile is null.
Can be used with function calls: ...
based on 2 interview experiences
Difficulty level
Duration
Senior Software Engineer
88
salaries
| ₹19.9 L/yr - ₹35 L/yr |
Software Engineer
74
salaries
| ₹9.9 L/yr - ₹19 L/yr |
Senior Devops Engineer
26
salaries
| ₹20.9 L/yr - ₹62 L/yr |
QA Engineer
22
salaries
| ₹7 L/yr - ₹16 L/yr |
Software Developer
18
salaries
| ₹5.3 L/yr - ₹20 L/yr |
Maxgen Technologies
JoulestoWatts Business Solutions
Value Point Systems
F1 Info Solutions and Services