MakeMyTrip | Senior Frontend Engineer Interview | Sep 2023
- Experience
- 5 years
- Posted
- 4 Oct 2023
Summary
I recently interviewed for a Senior Software Engineer - 2 position at MakeMyTrip in September 2023. The interview process, which spanned three rounds, rigorously tested my skills in frontend development, data structures, and system design.
How it went
My interview journey for the Senior Software Engineer - 2 position at MakeMyTrip in September 2023 was a thorough and engaging experience. I navigated through three distinct rounds, each designed to probe various facets of my technical expertise. Round 1 focused on core JavaScript and algorithmic challenges, while Round 2 delved into ReactJS concepts and a practical machine coding problem. The final Round 3 was dedicated to system design, deeper Redux discussions, web performance metrics, and a behavioral conversation about my learning trajectory.
Questions asked (10)
- 01
Polyfill Array.flat with Custom Nesting
Data Structures & Algorithms
Write a polyfill for the
Array.flatmethod in JavaScript that supports a customized level of nesting. - 02
Merge Two Sorted Arrays In-Place
Data Structures & Algorithms
Given two sorted arrays, merge them into the first array in-place without using extra space (or minimal extra space).
- 03
Chained Calculator Function
Data Structures & Algorithms
Write a JavaScript function that allows for method chaining, such as
calc().add(10).subtract(5).multiply(20).divide(2).getResult(), which should evaluate to 50. - 04
PureComponent vs. React.memo
Other
Explain the key differences between
PureComponentandReact.memoin ReactJS. - 05
Redux and Middlewares Discussion
Other
Discuss concepts related to Redux and its middlewares.
- 06
Machine Coding: Typeahead Search Box
Data Structures & Algorithms · Hard
Implement a typeahead (autosuggest) search box. This component should fetch data from an API and include all necessary performance optimizations (e.g., debouncing, caching).
- 07
System Design: WhatsApp
System Design · Hard
Design the system architecture for WhatsApp, including detailing its various APIs.
- 08
Redux Trade-offs and Opinion
Other
Discuss the trade-offs involved in using Redux for state management and share your personal opinion on its practical applications.
- 09
Web Vitals: Explanation and Improvement
Other
Explain how each of the Web Vitals works, discuss strategies for their improvement, and analyze scenario-based questions, such as the impact of a delayed Server-Side Rendered (SSR) document on specific Web Vitals.
- 10
Recent Technologies and Future Learning
Behavioral
Share information about two technologies I have recently learned and what I plan to learn next.