Status: 1 YOE
Current Position: SDE1
Current Location: Bangalore
Date: Sep, 2024
Round 1 (JavaScript) (60 Mins)
- 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
- var, let, const (Scopes)
- Closures
- Make a high-order function which the memoized version of the given function
- Make flattenArray using reduce method of array
... some other minor questions
Round 2 (React + Problem Solving + Practical Knowledge) (60 Mins)
- React
setState batching (Before v18 vs After v18)
- https://leetcode.com/problems/missing-number/
- Given an 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
After this I was told that my application will be fast-tracked
Round 3 (Hiring Manager)
This project revolved around my primary skill-set and resume
- What is FCP?
- How next.js boosts FCP?
- How does next.js work? I started by explaning the new React Server Components and Next 13 architecture . Even after explaining him everything correctly, he still had doubts and in the end asked about
getServerSideProps which made be think that he wanted to hear about Next.js 12
- What is SSR?
- What is CSR?
- Project Discussion
I was rejected after 2 days citing the reason that my experience or skills doesn't align with what they are looking for