Interview Experience
Background
- Years of Experience: 3
- Education: IIT
- Previous Company: Bank
After applying through the company portal, I received a call from a recruiter approximately 10-15 days later.
Round 1: Machine Coding Round
Task: Design an affiliate-based shopping system.
Scenario: Customers place orders using affiliate links, and influencers earn a percentage or a flat share of the order price. The payment to influencers is made only after the order's return period has expired.
Details:
- Time Given: 1.5 hours
- Submission: Code was submitted as a zip file.
- Follow-up: A discussion with a panel member to go over the design and functionality.
Round 2: Data Structures and Algorithms (DSA)
Problem 1: Flatten Binary Tree to Linked List
- Approach:
- Initially solved using recursion.
- Improved the solution by returning a pair of head and tail for each subtree to the root.
- Discussion: Code was written in Google Docs and dry-run during the interview.
- Follow-up: Adapted the solution for an n-ary tree.
Problem 2: Longest Increasing Subsequence
- Approach: Implemented an O(N^2) solution.
- Discussion: The interviewer asked to optimize it, but due to time constraints, I couldn't complete the optimization.
Round 3: System Design
Task: Design a parking lot.
Discussion:
- Presented the entities and interfaces.
- Explained the implementation of parking fees and the method for assigning parking spots.
- Focused on the extensibility of the code and ensuring all requirements were addressed.
Round 4: Hiring Manager Round
Discussion:
- Duration: 1 hour
- Content: Detailed explanation of past work experiences and design trade-offs made in previous roles.
- Nature: More of a discussion rather than a traditional interview.
Outcome
I was selected for the position!
Comp: https://leetcode.com/discuss/compensation/5303387/Flipkart-or-Bangalore-or-SDE-2
Comments (7)


