Filter interviews by
I applied via Recruitment Consulltant
Implementing pagination on scroll allows for loading more content as the user reaches the bottom of the page.
Use a scroll event listener to detect when the user has reached the bottom of the page
Make an API call to fetch more data when the bottom is reached
Append the new data to the existing content on the page
Immediately invoked function expressions (IIFE) are functions that are executed immediately after they are created.
IIFE is defined and invoked at the same time using parentheses at the end of the function declaration.
Anonymous functions do not have a name and can be used as IIFE by wrapping them in parentheses.
IIFE is commonly used to create a private scope for variables and functions.
Closures are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function even after the parent function has returned
They help in creating private variables and functions in JavaScript
Closures are commonly used in event handlers and callbacks
A promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure callbacks.
Example: Fetch API returns a promise when making an HTTP request.
Lazy loading is a technique used in web development to defer loading 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 a webpage.
Lazy loading can be implemented using JavaScript libraries like Intersection Observer or by using native browser features like loading='lazy
Coding a frontend UI from provided image. And creating a fucntional star rating system
Designing a Component API in React using Typescript involves defining props, state, and methods for the component.
Define the props interface to specify the expected input data for the component
Use typescript types to ensure type safety and prevent runtime errors
Define the state interface to manage the internal state of the component
Implement methods to handle user interactions and component logic
Document the component
Function to clear all timer ids at once
Create an array to store all timer ids
Iterate through the array and clear each timer id using clearTimeout() function
I applied via LinkedIn and was interviewed in Nov 2024. There were 2 interview rounds.
They asked JS basics and Promises, hoisting
Just asked about my work culture, as I worked in startup and product based company, they except me work in Agile and how u will adopt to MNC / service based company culture
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 applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.
It was a hacker coding test mostly javascript questions
Context API is a feature in React that allows sharing data between components without having to pass props manually.
Create a context using createContext() method
Use the Provider component to wrap the components that need access to the context
Access the context data using the useContext() hook within the consuming components
Debugging a code involves identifying and fixing errors in the code to ensure it runs correctly.
Use console.log() statements to print out values and check for errors
Utilize browser developer tools to inspect elements and debug JavaScript
Step through the code using breakpoints to identify the source of the issue
Review error messages and stack traces to pinpoint the problem
Consider using tools like linters and debuggers
Employee details can be retrieved using group by clause in SQL.
Use GROUP BY clause in SQL to group employee details based on a specific column
Aggregate functions like COUNT, SUM, AVG can be used with GROUP BY to get summarized employee details
Example: SELECT department, COUNT(*) as total_employees FROM employees GROUP BY department
posted on 23 Jun 2024
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
Currying is a technique in functional programming where a function with multiple arguments is transformed into a sequence of nested functions, each taking a single argument.
Currying helps in creating reusable functions and partial application.
It allows for easier composition of functions.
Example: const add = (a) => (b) => a + b; add(2)(3) will return 5.
Closures are functions that have access to their own scope, as well as the scope in which they were defined.
Closures allow functions to access variables from their outer function even after the outer function has finished executing.
They help in maintaining state in functional programming.
Example: function outerFunction() { let outerVar = 'I am outer'; return function innerFunction() { console.log(outerVar); }; }
Example...
posted on 2 Jul 2024
I applied via Referral and was interviewed in Jun 2024. There was 1 interview round.
First round was with BarRaiser, they first gave the question related to DSA related to strings. Then questions related to HTML/CSS in same round. Then questions related to react concepts.
I applied via Job Portal and was interviewed in Nov 2023. There were 3 interview rounds.
General questions of mathematics
2 coding questions, 1 from arrays and 2nd from lists
Senior Executive
33
salaries
| ₹2.2 L/yr - ₹5.7 L/yr |
Executive
13
salaries
| ₹1.8 L/yr - ₹2.8 L/yr |
Finance Executive
7
salaries
| ₹2.2 L/yr - ₹2.5 L/yr |
Analyst
4
salaries
| ₹1.9 L/yr - ₹3 L/yr |
Test Engineer
4
salaries
| ₹3.3 L/yr - ₹5 L/yr |
TCS
Infosys
Wipro
HCLTech