Round 1 (JavaScript) (60 Mins)
Questions:
- What is Hoisting? Show examples and applications.
- What happens when we do the following:
const a = {}; const b = a; b.value = 1; console.log(a, b);
- Deep Copy
- Different ways to deep copy.
- Deep Copy
- var, let, const (Scopes).
- Closures.
- Make a high-order function which is the memoized version of the given function.
- Make flattenArray using reduce method of array.
- ... some other minor questions.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 2 (React + Problem Solving + Practical Knowledge) (60 Mins)
Questions:
- React
setState
batching (Beforev18
vs Afterv18
). - Leetcode Problem: Missing Number.
- Given a tree in a tree form, convert it to an adjacency list.
- How to immutably update any complex value?
- Questions around Redux.
- ... some other minor questions.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 3 (Hiring Manager)
Questions:
- What is FCP?
- How does Next.js boost FCP?
- How does Next.js work? I started by explaining the new React Server Components and Next 13 architecture. Even after explaining everything correctly, he still had doubts and in the end asked about
getServerSideProps
, which made me think that he wanted to hear about Next.js 12. - What is SSR?
- What is CSR?
- Project Discussion.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.