Filter interviews by
I was interviewed in Feb 2024.
2 moderate DSA questions and a Question on React on Api's to fetch data
I applied via Walk-in and was interviewed in Apr 2024. There were 3 interview rounds.
Javascript array questions like palindrom and others with aptitude
Data can be shared between components in React using props, context, or state management libraries like Redux.
Use props to pass data from parent to child components
Use context to share data across multiple components without passing props manually
Use state management libraries like Redux to manage global state and share data between components
Prop drilling is the process of passing data through multiple levels of components in React.
Prop drilling occurs when a component needs to pass data to a deeply nested child component.
It can lead to code that is hard to maintain and understand.
One way to avoid prop drilling is by using Context API or Redux for state management.
Redux is a predictable state container for JavaScript apps.
Redux stores the entire state of an application in a single immutable object.
State changes are made by dispatching actions, which are plain JavaScript objects.
Reducers specify how the application's state changes in response to actions.
Redux flow: Action -> Reducer -> Store -> View
I applied via LinkedIn
posted on 30 Jun 2024
Error handling in JavaScript involves using try-catch blocks, throwing custom errors, and using error objects.
Use try-catch blocks to catch and handle errors
Throw custom errors using the throw keyword
Use error objects like Error, SyntaxError, TypeError, etc. for specific types of errors
Closure is a function that retains access to variables from its parent scope even after the parent function has finished executing.
Closure allows a function to access and manipulate variables from its outer scope.
It forms a 'closed-over' scope that persists even after the outer function has finished executing.
Closures are commonly used in event handlers, callbacks, and asynchronous code.
Example: function outerFunction(...
I applied via Naukri.com and was interviewed in Nov 2020. There were 3 interview rounds.
Remove duplicate elements from an Array
Use the Set object to remove duplicate elements
Convert the Set back to an array using the spread operator
If the array contains objects, use a custom comparison function
Use the accept attribute in the input tag to only allow jpg and png files.
Add accept attribute to input tag with 'image/jpeg, image/png' value
This will restrict file selection to only jpg and png files
Use flexbox to center align a div in just one line in CSS.
Set the parent container's display property to flex.
Use the justify-content property with the value 'center' to horizontally center the div.
Use the align-items property with the value 'center' to vertically center the div.
Use React Router's Redirect component to redirect to login page if user is not logged in.
Create a PrivateRoute component that checks if user is logged in
If user is not logged in, redirect to login page using Redirect component
Wrap the routes that require authentication with PrivateRoute component
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
Merge sort has a time complexity of O(n log n) in the worst case scenario.
Merge sort divides the array into two halves, sorts them recursively, and then merges them back together.
The time complexity of merge sort is O(n log n) in the worst case scenario.
For example, sorting an array of 8 elements would take 3 recursive calls to merge sort.
Create a palindrome checker using React JS to display on the UI
Create a input field for user to enter a string
Use state to store the input string
Create a function to check if the input string is a palindrome
Display the result on the UI
Javascript question on promise, callbacks, hosting
I am a passionate front end developer with 5 years of experience in creating user-friendly and responsive web applications.
5 years of experience in front end development
Proficient in HTML, CSS, JavaScript, and various front end frameworks
Strong understanding of UI/UX principles
Experience in creating responsive web applications
Passionate about staying updated with the latest web technologies
based on 1 interview
Interview experience
Benefits Administrator
86
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
33
salaries
| ₹0 L/yr - ₹0 L/yr |
Data Engineer
22
salaries
| ₹0 L/yr - ₹0 L/yr |
Actuarial Analyst
22
salaries
| ₹0 L/yr - ₹0 L/yr |
Data Warehouse Specialist
21
salaries
| ₹0 L/yr - ₹0 L/yr |
Willis Towers Watson
Aon
Mercer
Deloitte