My Frontend Interview Experience at Blinkit: A Smooth Yet Challenging Ride ~ Part-1
The interview was a technical screening conducted by an SDE-2 that focused on JavaScript fundamentals, object manipulation, and algorithmic problem-solving. The atmosphere was described as friendly and conversational, beginning with a deep dive into the candidate's resume and previous work experience.
Round 1: Technical Interview (SDE-2)
The session began with a detailed walkthrough of my resume, focusing on my contributions at CLEAR and personal projects like PerkPass. The first coding task involved writing a recursive function to flatten a deeply nested JavaScript object into a single-level object with dot-notation keys. We also had a conceptual discussion regarding the differences between forEach and map, specifically focusing on side effects versus return values.
Round 2: DSA & ES6 Proficiency
The technical challenge shifted to algorithms where I was asked to implement the 'Next Permutation' problem to find the next lexicographical arrangement of an array. I utilized a three-step approach involving finding the pivot, swapping, and reversing the suffix, which I had practiced from the Striver SDE sheet. Finally, the interviewer tested my ES6 skills with a complex nested object destructuring task to extract specific deeply-embedded properties.
Key Takeaways
- Clear communication of your thought process is just as important as the final code.
- Interviewers may pivot to different topics if they sense you are overly familiar with a specific DSA problem.
- Understanding the 'why' behind using specific array methods (like forEach vs map) is a common interview touchpoint.
Preparation Tips
- Master JavaScript object manipulation, specifically recursion for flattening or transforming nested structures.
- Review the Striver SDE Sheet for common DSA problems like 'Next Permutation'.
- Be prepared to justify your choice of JavaScript methods, such as explaining why you chose forEach over map.
- Practice ES6+ syntax, particularly deep destructuring of complex objects.
Original Source
This experience was originally published on medium. Support the author by visiting the original post.
Read on medium