i
Physicswallah
Filter interviews by
I appeared for an interview in Feb 2024.
Memoization is a technique used to optimize performance by storing the results of expensive function calls and returning the cached result when the same inputs occur again.
Memoization helps to avoid redundant calculations by storing the results of function calls.
It can be implemented using libraries like 'memo' in React or manually by storing results in a cache.
Memoization is commonly used in React to optimize renderin...
Promise is used for asynchronous operations with a single result, while Promise.all is used for handling multiple promises simultaneously.
Promise is used for handling asynchronous operations with a single result
Promise.all is used for handling multiple promises simultaneously
Promise.all waits for all promises to resolve or any one to reject
Find the path with the minimum sum in a grid from the top-left to the bottom-right corner.
Use dynamic programming to store minimum sums at each cell.
Start from the top-left corner and move to the bottom-right.
At each cell, calculate the minimum sum from the top and left cells.
Example: For a grid [[1,3,1],[1,5,1],[4,2,1]], the minimum path sum is 7.
The final cell will contain the minimum sum path value.
React is a lightweight library for building user interfaces, while Angular is a full-fledged framework with more features and conventions.
React is more flexible and allows for more control over the code structure.
Angular provides more out-of-the-box features like routing, forms, and HTTP client.
React is easier to learn for beginners due to its simplicity.
Angular has a steeper learning curve but offers more built-in too...
Promise.all is used to handle multiple promises concurrently and wait for all of them to resolve.
Use Promise.all when you need to make multiple asynchronous calls and wait for all of them to complete before proceeding.
It is useful for scenarios like fetching data from multiple APIs and processing them together.
Example: Promise.all([fetch('url1'), fetch('url2')]).then(responses => { // handle responses })
I applied via Instahyre and was interviewed in Jul 2024. There were 2 interview rounds.
Api Call with pagination support, Card with button.
Same , Just changed the difficulties
Top trending discussions
posted on 21 Oct 2024
I applied via Recruitment Consulltant
A library is a collection of functions or classes that can be called by an external program, while a framework is a set of rules and guidelines that help in creating an application.
Library is used for specific functionalities, while framework provides overall structure
In libraries, the flow of control is determined by the caller, while in frameworks, the flow of control is determined by the framework itself
Examples of ...
Yes, by using AJAX or Fetch API to make a request to the API endpoint and handle the response data.
Use AJAX or Fetch API to make a request to the API endpoint
Handle the response data by parsing it in JSON format
Display the fetched data on the front end as needed
posted on 18 Jun 2024
I applied via Approached by Company and was interviewed in May 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.
JavaScript object manipulation involves creating, updating, and deleting properties in objects.
Use dot notation to access properties: `obj.property`.
Use bracket notation for dynamic property access: `obj['property']`.
Add a new property: `obj.newProperty = value;`.
Delete a property: `delete obj.property;`.
Use `Object.keys(obj)` to get an array of property names.
Question on Linked list. array and string manipulation.
posted on 20 Mar 2025
I appeared for an interview before Mar 2024, where I was asked the following questions.
based on 2 interview experiences
Difficulty level
Duration
based on 4 reviews
Rating in categories
Senior Associate
416
salaries
| ₹2 L/yr - ₹7 L/yr |
Associate Manager
296
salaries
| ₹2 L/yr - ₹10 L/yr |
Associate
290
salaries
| ₹2 L/yr - ₹5.5 L/yr |
Business Analyst
158
salaries
| ₹2 L/yr - ₹12 L/yr |
Professor
158
salaries
| ₹7.3 L/yr - ₹28.7 L/yr |
BYJU'S
Whitehat jr
Planet Spark
Unacademy