Filter interviews by
I applied via Referral and was interviewed in Jan 2022. There were 3 interview rounds.
Virtual DOM is a lightweight copy of the actual DOM that helps in efficient rendering of web pages.
Virtual DOM is a concept used in ReactJS.
It is a lightweight copy of the actual DOM.
It helps in efficient rendering of web pages by minimizing the number of updates to the actual DOM.
When there is a change in the state of a component, the virtual DOM is updated instead of the actual DOM.
The virtual DOM then calculates the...
Props are used to pass data from parent to child components, while Redux state is a global state management system.
Props are read-only and cannot be modified by the child component.
Redux state can be modified using actions and reducers.
Props are passed down the component tree, while Redux state is accessible from any component.
Props are used for small-scale data sharing, while Redux is used for larger-scale state manag...
JavaScript is synchronous because it executes code line by line and waits for each line to finish before moving on.
JavaScript is single-threaded, meaning it can only execute one task at a time.
Code is executed in the order it appears in the program.
If a line of code takes a long time to execute, it can block other code from running.
Asynchronous programming can be used to avoid blocking code and improve performance.
useMemo is used to memoize a value, while useCallback is used to memoize a function.
useMemo is used to optimize expensive calculations by caching the result
useCallback is used to optimize expensive function creation by caching the function instance
useMemo returns a memoized value, while useCallback returns a memoized function
useMemo is used for any value that can be computed, while useCallback is used for functions tha...
Create a Project to list detail from API and trigger server-side while paginating
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There were 2 interview rounds.
Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts them, and then merges the sorted halves.
Divide the array into two halves recursively
Sort each half using merge sort recursively
Merge the sorted halves back together
I appeared for an interview in Aug 2021.
Round duration - 180 Minutes
Round difficulty - Medium
It had some coding questions related to graph.
You are given an undirected graph with V
vertices (numbered from 0 to V-1) and E
edges. Each edge connects two nodes u
and v
and has an associated weight represe...
The question is about finding the shortest path distance from a source node to all vertices in an undirected graph.
The graph is represented by the number of vertices and edges, followed by the edges and their distances.
The task is to find the shortest path distance from the source node (0) to all other nodes.
If a node is disconnected from the source node, print the maximum positive integer value (2147483647).
Implement ...
Given a directed and unweighted graph characterized by vertices 'V' and edges 'E', determine if a path exists from a specified 'source' vertex to a 'destination' vertex. T...
The task is to check if there exists a path from a given source vertex to a destination vertex in a directed and unweighted graph.
Read the number of test cases.
For each test case, read the number of vertices and edges.
Read the edges of the graph.
Read the source and destination vertices.
Implement a graph traversal algorithm (e.g., BFS or DFS) to check if a path exists from the source to the destination.
Print 'true' if a...
Round duration - 180 Minutes
Round difficulty - Hard
The round was really tough only 1 coding question was asked
You are provided with an N-ary tree constituted of 'N' nodes, where node '1' is the head of the tree. Your task is to encode this N-ary tree into a binar...
The task is to encode an N-ary tree into a binary tree and then decode the binary tree back into the original N-ary tree.
Encode the N-ary tree by representing each node as a binary tree node with its first child as the left child and subsequent children as the right child.
To decode the binary tree, traverse the binary tree and for each node, create a new N-ary tree node with its left child as the first child and subseq...
Tip 1 : Do atleast 2 projects
Tip 2 : Complete competitive programming
Tip 3 : Practice more interview Questions particular to the company applying to
Tip 1 : Don't lie on resume
Tip 2 : Try to wrap resume in one page
I appeared for an interview in Nov 2024, where I was asked the following questions.
Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their assignments.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
Closures in JavaScript allow functions to access variables from their outer scope even after the outer function has finished executing.
Closures are created when a function is defined within another function and the inner function has access to the outer function's variables.
Closures can be used to create private variables and functions in JavaScript.
Closures can also be used to maintain state in asynchronous operations...
I appeared for an interview in Mar 2022.
Round duration - 60 Minutes
Round difficulty - Easy
Formal Introduction.
Asked About Projects.
Difference between SQL and NoSQL. Pros and Cons. Where should we use SQL and NoSQL.
Given a problem, I have to make a SQL Database structure and then interviewer told me to convert it into NoSQL.
asked coding questions
Given a sorted array of distinct integers that has been rotated clockwise by an unknown amount, you need to search for a specified integer in the array. Fo...
Implement a search function to find a specified integer in a rotated sorted array.
Implement a binary search algorithm to find the target integer in the rotated sorted array.
Handle the cases where the target integer may lie in the left or right half of the rotation.
Keep track of the mid element and adjust the search range based on the rotation.
Return the index of the target integer if found, else return -1.
Given a binary tree, compute the zigzag level order traversal of the node values in the tree. The zigzag traversal requires traversing levels from left to right, then ...
Zigzag level order traversal of a binary tree is computed by alternating between left to right and right to left traversal at each level.
Use a queue to perform level order traversal of the binary tree.
Maintain a flag to switch between left to right and right to left traversal at each level.
Store the node values in a list while traversing and alternate the order based on the flag.
Example: For input 1 2 3 4 -1 5 6 -1 7 -...
Tip 1 : Prepare well for subjects
Tip 2 : Prepare for system design
Tip 3 : Practice coding
Tip 1 : Don't lie on resume
Tip 2 : Just write in format that is catchy
I applied via Campus Placement and was interviewed in Aug 2024. There were 2 interview rounds.
Computer Fundamentals
Flatten a binary tree by converting it into a linked list in-place.
Use a recursive approach to flatten the binary tree.
Traverse the tree in a pre-order manner and keep track of the previous node.
Set the left child of each node to null and the right child to the next node in the linked list.
Example: Input: 1 -> 2 -> 5 -> 3 -> 4 -> null, Output: 1 -> null -> 2 -> null -> 3 -> null -> 4 -> null -> 5 -> null
I appeared for an interview in Apr 2021.
Round duration - 90 minutes
Round difficulty - Hard
Timing was late evening . Platform was good.
Given a maze represented by 'N' cells numbered from 0 to N-1, and an array arr
of 'N' integers where arr[i]
denotes the cell number that can be reached from the 'i'...
Identify the length of the largest cycle in a maze represented by cells and an array of integers.
Iterate through each cell and find the cycle length using DFS or Floyd's Tortoise and Hare algorithm.
Keep track of visited cells to avoid infinite loops.
Return the length of the largest cycle found or -1 if no cycles exist.
Tip 1 : Do some projects
Tip 2 : Be good in data structure
Tip 1 : Keep it short
Tip 2 : Don't try to add false things.
I appeared for an interview in Mar 2021.
Round duration - 90 minutes
Round difficulty - Medium
The coding round was 90 minutes with 2 question and the difficulty was mid-range and both were graph question
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...
Find all possible paths for a rat in a maze from start to destination.
Use backtracking to explore all possible paths in the maze.
Keep track of visited cells to avoid revisiting them.
Explore all possible directions (up, down, left, right) from each cell.
Add the current direction to the path and recursively explore further.
When reaching the destination, add the path to the list of valid paths.
Tip 1 : Practice question and try to understand with using javascript
Tip 2 : The Elm Architecture.
Tip 3 : Project matters
Tip 1 : Have web development project
Tip 2 : learn purescript and node.js
3 Graph Questions Were asked of difficulty medium to hard.
Hackathon round which revolved around multithreading
Operations Executive
15
salaries
| ₹2 L/yr - ₹4 L/yr |
Area Sales Manager
11
salaries
| ₹9 L/yr - ₹16 L/yr |
Sales Officer
10
salaries
| ₹4 L/yr - ₹6.5 L/yr |
Inventory Controller
9
salaries
| ₹3.8 L/yr - ₹4.5 L/yr |
Data Analyst
8
salaries
| ₹3.8 L/yr - ₹8 L/yr |
MagicPin
Awign Enterprises
Nestaway
Ketto