Filter interviews by
Clear (1)
I applied via Instahyre and was interviewed before Apr 2022. There were 5 interview rounds.
Event loop is a mechanism that allows JavaScript to handle multiple tasks simultaneously.
Event loop is a part of JavaScript runtime environment.
It continuously checks the call stack and the task queue.
If the call stack is empty, it takes the first task from the queue and pushes it to the call stack.
Examples of tasks include user input, network requests, and setTimeout() functions.
Shadowing in JavaScript is when a variable declared within a certain scope has the same name as a variable in an outer scope.
Occurs when a variable in a local scope has the same name as a variable in a parent scope
The local variable takes precedence over the parent variable within the local scope
Can cause confusion and unexpected behavior if not handled properly
Find the repeated and missing element in an array of n elements containing 0 to n-1 elements.
Create a hash table to keep track of the frequency of each element.
Iterate through the array and update the hash table.
Find the element with frequency greater than 1 as the repeated element.
Find the missing element by subtracting the sum of array elements from the sum of 0 to n-1 elements.
Return the repeated and missing element
A website gets loaded on the browser through a series of steps including DNS resolution, HTTP request, server response, rendering, and scripting.
The browser sends a DNS request to resolve the website's domain name to an IP address.
The browser sends an HTTP request to the server for the website's resources.
The server responds with the requested resources, including HTML, CSS, JavaScript, and media files.
The browser rend...
Floating point arithmetic is not exact, hence 0.1+0.2 may not be exactly 0.3.
Floating point numbers are represented in binary, which can lead to rounding errors.
0.1 and 0.2 cannot be represented exactly in binary, hence the result may not be exact.
This is not specific to JavaScript, but a general issue with floating point arithmetic.
To avoid such issues, use libraries like decimal.js or round off the result to a certai
React is more lightweight and flexible than Angular, making it ideal for smaller projects or those with less complex requirements.
React is easier to learn and use than Angular, making it more accessible to developers of all skill levels.
React's virtual DOM allows for faster rendering and better performance than Angular's two-way data binding.
React's component-based architecture makes it easier to reuse code and maintai...
Reconciliation process is used by React to update the DOM efficiently.
Reconciliation is the process of comparing the new virtual DOM with the previous one to identify the changes.
React then updates only the necessary changes to the real DOM, instead of re-rendering the entire page.
This process helps in improving the performance of the application.
React uses a diffing algorithm to compare the two virtual DOMs and identi...
React component life cycle defines the stages of a component from initialization to destruction.
React component life cycle consists of three phases: Mounting, Updating, and Unmounting.
Mounting phase includes constructor, getDerivedStateFromProps, render, componentDidMount methods.
Updating phase includes getDerivedStateFromProps, shouldComponentUpdate, render, getSnapshotBeforeUpdate, componentDidUpdate methods.
Unmounti...
React has three main life cycle methods: Mounting, Updating, and Unmounting.
Mounting: constructor(), static getDerivedStateFromProps(), render(), componentDidMount()
Updating: static getDerivedStateFromProps(), shouldComponentUpdate(), render(), getSnapshotBeforeUpdate(), componentDidUpdate()
Unmounting: componentWillUnmount()
Examples: componentDidMount() is used to fetch data from an API, componentWillUnmount() is used ...
A stateful functional component can be created using the useState hook in React.
Import the useState hook from React
Declare a state variable using the useState hook
Use the state variable in the component
Update the state variable using the setState function
Example: const [count, setCount] = useState(0);
Example:
Create a snake game using react.js?
Had a group discussion with CTO and manager about the assignment and other prosperity of role.
Top trending discussions
posted on 21 Feb 2015
Quantifiable factors to rate cab drivers for company's purpose
Customer ratings and feedback
Number of completed trips
Average trip duration
Percentage of on-time pickups
Accident and traffic violation history
Vehicle cleanliness and maintenance
Driver punctuality and professionalism
The criterion for choosing between Yuvraj Singh and Stuart Binny for the World Cup squad would be based on their recent performance, fitness, and team balance.
Evaluate recent performance of both players
Assess fitness levels of both players
Consider team balance and required skill sets
Analyze pitch and weather conditions of the tournament
Take into account the opposition teams and their strengths and weaknesses
I applied via Campus Placement and was interviewed in Dec 2016. There were 4 interview rounds.
Given a 2D matrix with doors and walls, fill distance matrix with minimum distance to the nearest door.
Iterate through the matrix and find the doors
Use Breadth-First Search (BFS) to calculate the minimum distance from each cell to the nearest door
Update the distance matrix with the minimum distances
Find kth smallest element in unordered array with O(1) space
Use the QuickSelect algorithm to partition the array and find the kth smallest element
Choose a pivot element and partition the array into two subarrays
Recursively partition the subarray that contains the kth smallest element
Repeat until the pivot element is the kth smallest element
Time complexity: O(n) average case, O(n^2) worst case
To find friends of friends who are not already friends with you, we can first find your friends and then their friends excluding yourself and your friends.
Get your list of friends
For each friend, get their list of friends
Exclude yourself and your friends from the final list of friends of friends
I was interviewed before Apr 2021.
Round duration - 60 minutes
Round difficulty - Medium
It started with an informal talk after he gave his introduction. We talked about the cyclone that was going to be there and what I did in my internship and my previous projects. Then we moved to questions. After solving both questions he asked if I had questions.
Given an array of distinct positive integers and a number 'K', your task is to find the K'th largest element in the array.
Array: [2,1,5,6,3,8], K ...
Find the Kth largest element in an array of distinct positive integers.
Sort the array in non-increasing order
Return the Kth element from the sorted array
Handle multiple test cases
Consider a grid containing oranges. Each cell in this grid can hold one of three integer values:
The task is to determine the minimum time required for all fresh oranges to become rotten in a grid.
Create a queue to store the rotten oranges and their time of rotting.
Iterate through the grid to find the initial rotten oranges and add them to the queue.
Perform BFS by popping each rotten orange from the queue, rot adjacent fresh oranges, and add them to the queue with updated time.
Continue until the queue is empty, ke...
Round duration - 45 minutes
Round difficulty - Easy
This was a design round.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I was interviewed before May 2021.
Round duration - 60 Minutes
Round difficulty - Easy
Given the head node of a singly linked list and an integer 'k', this problem requires you to determine the value at the k-th node from the end of the linke...
To find the k-th node from the end of a linked list, iterate through the list to determine the size, then traverse again to reach the k-th node from the end.
Iterate through the linked list to determine its size.
Calculate the position of the k-th node from the end based on the size of the list.
Traverse the list again to reach the k-th node from the end.
Return a pointer to the k-th node from the end.
Round duration - 60 Minutes
Round difficulty - Easy
High level System Design
Designing a system like Uber involves components like user app, driver app, server, database, and algorithms for matching and routing.
User app for booking rides and tracking
Driver app for accepting rides and navigation
Server for handling requests and communication between apps
Database for storing user, driver, and ride information
Algorithms for matching riders with drivers and routing
Round duration - 45 minutes
Round difficulty - Easy
Basic HR questions
Tip 1 : Practise DSA/coding consistently
Tip 2 : Choose a tech stack and Make side hobby projects
Tip 3 : Give mock interviews for your preparation evaluation
Tip 1 : Pointers about your current job responsibility
Tip 2 : Side Projects with Tech stack
I applied via Indeed and was interviewed in Oct 2020. There were 6 interview rounds.
I applied via Walk-in and was interviewed in Dec 2020. There was 1 interview round.
I applied via Naukri.com and was interviewed before Jul 2021. There were 3 interview rounds.
Convenience power, Patience
Some of the top questions asked at the RoadZen Technologies Front end Web Developer interview -
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Data Scientist
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Operations Coordinator
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Manager
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager- HR
4
salaries
| ₹0 L/yr - ₹0 L/yr |
CarDekho Group
Cartrade.com
Droom
CARS24