i
Fuelbuddy
Filter interviews by
I was interviewed before Sep 2023.
useCallback is used to memoize functions, while useMemo is used to memoize values.
useCallback memoizes functions to prevent unnecessary re-renders in React components
useMemo memoizes the result of a function to prevent re-computation in React components
Example: useCallback is used for event handlers to prevent recreation on every render
Example: useMemo is used to memoize the result of a heavy computation
Top trending discussions
I was interviewed in Dec 2024.
To delete the nth node from the end in a linked list, we can use a two-pointer approach.
Use two pointers, one to traverse the list and another to keep track of the nth node from the end.
Move the second pointer n steps ahead of the first pointer.
When the second pointer reaches the end of the list, the first pointer will be at the nth node from the end.
Adjust the pointers to delete the nth node.
I applied via Approached by Company and was interviewed in Oct 2023. There were 2 interview rounds.
Question on dsa and string theory along with oops concepts
I was interviewed before May 2023.
Atomic transactions ensure that all operations in a transaction are completed successfully or none at all in a distributed system.
Atomic transactions guarantee that all operations within a transaction are either all successful or all rolled back.
In distributed systems, atomic transactions are crucial for maintaining data consistency across multiple nodes.
ACID properties (Atomicity, Consistency, Isolation, Durability) a...
I applied via Recruitment Consultant and was interviewed before Jul 2020. There were 5 interview rounds.
I was interviewed in Sep 2021.
I applied via Recruitment Consulltant and was interviewed before Jan 2023. There were 2 interview rounds.
Program to check if a number is a palindrome.
Convert the number to a string to easily check for palindrome
Reverse the string and compare it with the original string
If they are the same, the number is a palindrome
Hooks are a feature in React that allow you to use state and other React features in functional components.
Hooks were introduced in React 16.8.
They allow you to use state and other React features without writing a class.
Commonly used hooks include useState, useEffect, useContext, and useReducer.
Hooks must be used at the top level of your functional component.
Example: const [count, setCount] = useState(0);
Design a high-level architecture for a software system
Identify the main components of the system
Define the interactions between the components
Consider scalability, security, and performance
Choose appropriate technologies and frameworks
Create a diagram to visualize the architecture
I applied via Approached by Company and was interviewed before May 2022. There were 2 interview rounds.
Improving Front End System Performance
Optimize images and reduce their size
Minimize HTTP requests and use caching
Use lazy loading for images and videos
Reduce the number of DOM elements
Use a Content Delivery Network (CDN)
Minimize the use of external scripts and plugins
Use asynchronous loading for scripts
Optimize CSS and JavaScript files
Use browser caching
Implement server-side rendering
Event Loop is a mechanism that allows JavaScript to handle multiple tasks simultaneously.
Event Loop is a part of JavaScript runtime that continuously checks the call stack and the task queue.
It prioritizes the tasks in the queue and pushes them to the call stack when it's empty.
This allows JavaScript to handle I/O operations and other asynchronous tasks without blocking the main thread.
Example: setTimeout() function ad...
based on 1 interview
Interview experience
Area Head
12
salaries
| ₹4 L/yr - ₹10 L/yr |
Software Engineer
7
salaries
| ₹4 L/yr - ₹7 L/yr |
Area Manager
7
salaries
| ₹5.4 L/yr - ₹12 L/yr |
Assistant Manager
6
salaries
| ₹3 L/yr - ₹7.8 L/yr |
Operations Manager
6
salaries
| ₹4.4 L/yr - ₹9 L/yr |
Indian Oil Corporation
Bharat Petroleum
Hindustan Petroleum
Reliance Industries