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

Frontend Engineer 2

DotPe
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
It was my first interview for a senior role, and I wasn't in the right frame of mind to give an interview. I tried to revise my notes in a single day, but due to a lack of proper preparation, I was unable to answer two output-based questions and one conceptual question. That's why I couldn't clear it this time. I hope my interview experience helps you on your journey. Best wishes!
Application story
I applied through Naukri. Then the recruiter reached out to me with some screening questions, and after that, she scheduled my interview. That’s how I got the opportunity.
Preparation
Duration: 1 month
Topics: HTML5, CSS3, SCSS, JavaScript, React.js, Next.js, TypeScript
Tip
Tip

Tip 1: Prepare JavaScript thoroughly.
Tip 2: Stay curious—always ask "why" to understand the behaviour behind every line of code.
Tip 3: Practice daily and maintain momentum; it will make your learning journey easier.

Application process
Where: Naukri
Eligibility: Experience >= 3 years, (Salary Package: 15 LPA)
Resume Tip
Resume tip

Tip 1: Keep it to one page.
Tip 2: Try to keep it updated regularly.

Interview rounds

01
Round
Medium
Face to Face
Duration60 minutes
Interview date10 Jun 2025
Coding problem2

1. Write the output of following code:

async function foo(){
   console.log("A");
   await foo2();
   console.log("B")
}

async function foo2(){
   console.log("C");
   setTimeout(() => {
       console.log("D")
   }, 0)
   console.log("E")
}

foo();
console.log("F")

2. What will happen if I update the count like this ? –

const handleCount = () => {
setCount(count + 1);
console.log(count);
setCount(count + 1);
setCount(count + 1);
}

02
Round
Medium
Face to Face
Duration60 minutes
Interview date12 Jun 2025
Coding problem3

1. Hook vs Utility

What is the difference between a hook and a utility function?

2. Count frequency

Write code to count the frequency of words in an array using both a loop and the reduce method in JavaScript.

const arr = ["apple", "mango", "seed", "apple", "protein"];

3. State Management

Is it a good idea to use both the Context API and Redux in a web app?

03
Round
Easy
Face to Face
Duration60 minutes
Interview date13 Jun 2025
Coding problem1

1. JavaScript Essentials

  • What is the reduce function? (Learn)
  • What is a polyfill?
  • Write a polyfill for the reduce function.
  • What is debouncing? Write a custom hook for debouncing.
  • When would you prefer to use the Context API, and where would you prefer to use Redux for state management? Explain why.

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
SDE - 1
3 rounds | 8 problems
Interviewed by DotPe
1737 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes