i
Grasko Solutions
Filter interviews by
I was interviewed in Jul 2024.
Memoization is a technique used in programming to optimize performance by storing the results of expensive function calls and returning the cached result when the same inputs occur again.
Memoization helps reduce redundant calculations by storing the results of function calls in a cache
It is commonly used in dynamic programming and recursive algorithms to improve performance
Example: Fibonacci sequence calculation can be...
Lazy loading is a technique used in web development to defer loading of 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 websites.
Lazy loading can be implemented using JavaScript libraries like Intersection Observer or by using native browser features like loading='la
Callback hell is a situation where multiple nested callbacks make the code difficult to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Can lead to unreadable and unmaintainable code
Can be avoided by using promises or async/await
Prop drilling is the process of passing down props through multiple levels of components in React.
Prop drilling can lead to complex and hard-to-maintain code.
It can be avoided by using Context API or Redux for state management.
Example: Passing props from a parent component to a deeply nested child component through intermediate components.
Dependency injection is a design pattern in which components are given their dependencies rather than creating them internally.
Dependency injection helps in making components more modular and easier to test.
It promotes loose coupling between components.
There are three types of dependency injection - constructor injection, setter injection, and interface injection.
Top trending discussions
Interview experience
based on 1 review
Rating in categories
Software Engineer
100
salaries
| ₹5.4 L/yr - ₹17.5 L/yr |
Software Developer
53
salaries
| ₹4 L/yr - ₹16.3 L/yr |
QA Engineer
51
salaries
| ₹4.8 L/yr - ₹15.2 L/yr |
Senior Software Engineer
31
salaries
| ₹9.3 L/yr - ₹26 L/yr |
Technical Writer
18
salaries
| ₹3.5 L/yr - ₹10 L/yr |
TCS
Infosys
Wipro
HCLTech