Thoughts2binary interview experience Real time questions & tips from candidates to crack your interview

Frontend Developer

Thoughts2binary
upvote
share-icon
4 rounds | 12 Coding problems

Interview preparation journey

expand-icon
Journey
Although I didn’t secure an offer, the process significantly strengthened my confidence in my React and JavaScript skills. It exposed me to real-world problem-solving scenarios, sharpened my understanding of core concepts, and highlighted areas for further growth. This experience has motivated me to continue improving and preparing for future opportunities with even greater focus.
Application story
I applied for the position through Naukri.com, and after nearly two months of waiting, I received a call from the recruiter to discuss the opportunity further. It was encouraging to see that my application was noticed after such a considerable gap.
Preparation
Duration: 6 Months
Topics: HTML, CSS, JavaScript, React, Redux, Node.js, Express
Tip
Tip

Tip 1: Spend time on the basics.

Tip 2: Try solving problems related to object and array manipulation in JavaScript.

Application process
Where: Naukri
Eligibility: 1 year of experience (including internships), (Salary: 40k)
Resume Tip
Resume tip

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.

Interview rounds

01
Round
Medium
Face to Face
Duration40 minutes
Interview date4 Feb 2025
Coding problem5

1. Variable Types

What is the difference between let, var, and const in JavaScript? (Learn)

2. Object Grouping

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 }
 ]
}

3. Debounce vs Throttle

What is the difference between debouncing and throttling? (Learn)

4. Effect Cleanup

What is useEffect, and how does the cleanup function work in useEffect? (Learn)

5. CSS Basics

A few basic CSS questions, such as positioning and flexbox.

02
Round
Medium
Face to Face
Duration90 minutes
Interview date4 Feb 2025
Coding problem3

1. Aptitude Questions

Problems based on speed, distance, and time, missing numbers, and seating arrangements were asked.

2. Rat In A Maze

Easy
15m average time
85% success
0/40
Asked in companies
OlaIBMGoldman Sachs

You are given a starting position for a rat which is stuck in a maze at an initial point (0, 0) (the maze can be thought of as a 2-dimensional plane). The maze would be given in the form of a square matrix of order 'N' * 'N' where the cells with value 0 represent the maze’s blocked locations while value 1 is the open/available path that the rat can take to reach its destination. The rat's destination is at ('N' - 1, 'N' - 1). Your task is to find all the possible paths that the rat can take to reach from source to destination in the maze. The possible directions that it can take to move in the maze are 'U'(up) i.e. (x, y - 1) , 'D'(down) i.e. (x, y + 1) , 'L' (left) i.e. (x - 1, y), 'R' (right) i.e. (x + 1, y).

Note:
Here, sorted paths mean that the expected output should be in alphabetical order.
For Example:
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.
Try solving now

3. Koko Eating Bananas

Moderate
25m average time
70% success
0/80
Asked in companies
AtlassianTennrUnthinkable Solutions LLP

A monkey is given ‘n’ piles of bananas, where the 'ith' pile has ‘a[i]’ bananas. An integer ‘h’ is also given, which denotes the time (in hours) in which all the bananas should be eaten.


Each hour, the monkey chooses a non-empty pile of bananas and eats ‘m’ bananas. If the pile contains less than ‘m’ bananas, then the monkey consumes all the bananas and won’t eat any more bananas in that hour.


Find the minimum number of bananas ‘m’ to eat per hour so that the monkey can eat all the bananas within ‘h’ hours.


Example:

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.
Try solving now
03
Round
Easy
Face to Face
Duration35 minutes
Interview date6 Feb 2025
Coding problem3

1. Project Round

  • The interviewer asked about my projects: what I did and how I implemented them.
  • Questions on the folder structure I followed.
  • Why I used Redux instead of React Context for global state management.
  • Whether I applied any optimization techniques in my projects.
  • Questions about useCallback and useMemo in React.
  • Asked me to implement useCallback in my existing project.
  • Rendering-related questions:
  • If there is a parent component with a child component inside it, will the child re-render when the parent state updates?
  • If yes, how can we prevent the child from re-rendering if it does not use any state or props from the parent?

2. Output Based Question

function update(obj) {
 obj.x = 2;
 obj = { x: 3 };
 obj.y = 4;
}
const myObj = { x: 1 };
update(myObj);
console.log(myObj);

3. Copy Types

What is the difference between a deep copy and a shallow copy? (Learn)

04
Round
Easy
Online Coding Interview
Duration15 minutes
Interview date8 Feb 2025
Coding problem1

1. CEO Round

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
company logo
Frontend Developer
3 rounds | 7 problems
Interviewed by Thoughts2binary
119 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Frontend Developer
3 rounds | 11 problems
Interviewed by Amdocs
2480 views
0 comments
0 upvotes