Tip 1: Spend time on the basics.
Tip 2: Try solving problems related to object and array manipulation in JavaScript.
Tip 1: Tailor your resume for each job by highlighting the skills and experiences that match the role’s requirements.
Tip 2: Use measurable achievements (e.g., “Improved page load speed by 30%”) to make your contributions more impactful and credible.
What is the difference between let, var, and const in JavaScript? (Learn)
Given an array of objects, group the objects based on a specific key.
The key can be any property present in the objects and will be provided as input.
Input:
const data = [
{ name: "Alice", city: "Delhi", age: 25 },
{ name: "Bob", city: "Mumbai", age: 30 },
{ name: "Charlie", city: "Delhi", age: 22 },
{ name: "David", city: "Mumbai", age: 28 },
{ name: "Eve", city: "Pune", age: 26 }
];
const groupByKey = "city";Expected Output:
{
"Delhi": [
{ name: "Alice", city: "Delhi", age: 25 },
{ name: "Charlie", city: "Delhi", age: 22 }
],
"Mumbai": [
{ name: "Bob", city: "Mumbai", age: 30 },
{ name: "David", city: "Mumbai", age: 28 }
],
"Pune": [
{ name: "Eve", city: "Pune", age: 26 }
]
}What is the difference between debouncing and throttling? (Learn)
What is useEffect, and how does the cleanup function work in useEffect? (Learn)
A few basic CSS questions, such as positioning and flexbox.
Problems based on speed, distance, and time, missing numbers, and seating arrangements were asked.



Here, sorted paths mean that the expected output should be in alphabetical order.
Given a square matrix of size 4*4 (i.e. here 'N' = 4):
1 0 0 0
1 1 0 0
1 1 0 0
0 1 1 1
Expected Output:
DDRDRR DRDDRR
i.e. Path-1: DDRDRR and Path-2: DRDDRR
The rat can reach the destination at (3, 3) from (0, 0) by two paths, i.e. DRDDRR and DDRDRR when printed in sorted order, we get DDRDRR DRDDRR.



Input: ‘n’ = 4, ‘a’ = [3, 6, 2, 8] , ‘h’ = 7
Output: 3
Explanation: If ‘m’ = 3, then
The time taken to empty the 1st pile is 1 hour.
The time taken to empty the 2nd pile is 2 hour.
The time taken to empty the 3rd pile is 1 hour.
The time taken to empty the 4th pile is 3 hour.
Therefore a total of 7 hours is taken. It can be shown that if the rate of eating bananas is reduced, they can’t be eaten in 7 hours.
function update(obj) {
obj.x = 2;
obj = { x: 3 };
obj.y = 4;
}
const myObj = { x: 1 };
update(myObj);
console.log(myObj);What is the difference between a deep copy and a shallow copy? (Learn)
This round was with the CEO. He asked general questions about my tech stack, my work experience, and the career gap in my resume. He was not satisfied with the gap and ultimately rejected me.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?