In the second interview they asked: 1. leet code 121 (Best Time to Buy and Sell Stock) 2. build a class that manages a tennis match score board and player winning.
Senior Frontend Developer Interview Questions
1,612 senior frontend developer interview questions shared by candidates
Sort an array in place
On the phone I was asked about Javascript closure, hoisting, and some problem solving/ algo question. In person I was asked to describe the output of given code, where there were timeouts and promises, how to implement debounce, and an algorithm question - finding LCA of two nodes - the nodes had reference to parent.
JS related questions with code snippets
1. Reverese string 2. Three sum 3. LRU Cache
- What is ShouldComponentUpdate? - What is a Fragment - What is HOC - What is a Component and PureComponent - What is Server Rendering - How to Prevent re-render - How to Pass information between child and parent components - How to Conversion steps of Class component to Hooks - How to use styles in components
The second challenge was for keypad given a 3x3 with the digits from 1 to 9, randomly, calculate how many steps it takes to enter a code depending on the distance between numbers.
The first challenge was to find anagrams within an array of strings and remove the strings which are anagrams of the previous strings.
How do you see your ideal career in the future?
The interview process was well-structured and covered a wide range of frontend topics, including React, TypeScript, performance optimization, testing, and CI/CD. Questions focused on team collaboration, handling complex projects, web performance, React rendering optimizations, and API efficiency. There were also in-depth discussions on JavaScript concepts like async/defer, blocking vs. non-blocking requests, and font loading issues. Additionally, algorithm and data structure questions were included, along with best practices for writing tests, reviewing merge requests, and maintaining code quality in large-scale projects. The process was challenging but insightful, assessing both technical depth and problem-solving skills.
Viewing 801 - 810 interview questions