Date - Sep 2023
Title - Senior Software Engineer - 2
Exp - 5+
Round 1 (60 mins) -
- Write polyfill of Array.flat with customized nesting.
- There are two sorted arrays. Merge them in place of first array.
- Write a js function that can be invoked like below -
calc().add(10).subtract(5).multiply(20).divide(2).getResult() . In this case the output should be 50.
Round 2 (60 mins) -
- Asked Reactjs related questions like difference between Pure component and Memo, Redux, middlewares.
- Machine coding - Typeahead(autosuggest) search box that fetches the data from API. Need to implement with all the performance optimizations.
Round 3 (75 mins) -
- System design of Whatsapp alongwith APIs.
- Redux and its tradeoffs and my opinion on it.
- Web vitals related questions - How each vital works and can be improved? Some scenario related question around it like if SSR doc is delayed then what web vital would be most affected.
- What are two technologies that I learnt recently and what is planned next?