How to deep clone an object
Senior Frontend Engineer Interview Questions
1,542 senior frontend engineer interview questions shared by candidates
How have you handled a conflict or disagreement with someone?
Create a SSR article explorer app.
Write the polyfill for setInterval and Promise
Both the live coding and the system design interviews were focused on data and tables (which makes sense given the company’s domain). So, if you’re preparing, make sure you’re a wizard when it comes to data visualization and optimization!
The first code challenge was about matching different tags that a user could add in a multi-select list and unifying them if they belonged to the same group. I thought it required an inverted index, so I over-complicated the solution. A simpler approach using multiple loops would actually have been more effective. The second challenge was about React and involved building a simple table, then progressively adding features like filters, sorting, etc. For the cultural-type interviews, the questions were about previous projects and how I handled certain scenarios—for example, how I deal with situations where I disagree with my manager. For the system-design interview, I was asked to design a dashboard that supports multiple widgets.
Technical screening interview: - Count word repetitions in a paragraph - DFS problem (sum of leaf nodes in a binary tree)
1. Theoretical knowledge - sync flow, CDN, DNS, browser caching, PWA, react life cycle, hydration, and more. 2. JS - flatten array, lodash groupBy, cancelable promise 3. System design - shopping cart page and widget
Why do you want to work at merck ?
2. FRONTEND SYSTEM DESIGN (1 hour, Zoom and Excalidraw). The task was to architect a solution for a frontend app (no need to discuss typical system design topics like load balancers, etc). The idea is to determine a basic design and user flow / UX for the application described. The major considerations were application performance, user interactions, frontend-backend interactions (what endpoints and what kind of data and why), data structures/state, and any libraries or techniques you would use. It was important to identify performance bottlenecks and their solutions (dom rendering, lazy loading, caching, etc.).
Viewing 411 - 420 interview questions