Kotak SDE-2 Interview Experience | Bar Raiser
Summary
I was selected for the SDE-2 role at Kotak after successfully handling DSA, LLD, and system design questions.
Full Experience
1. Search in Rotated Sorted Array
LeetCode: https://leetcode.com/problems/search-in-rotated-sorted-array/description/
2. Longest Common Prefix
LeetCode: https://leetcode.com/problems/longest-common-prefix/description/
Both questions were discussed along with the approach and complexity.
LLD – 40 mins
Design a Restaurant Ordering System
The discussion covered:
- Authentication
- Restaurant and Menu management
- Cart management
- Order flow
- Payment
The interviewer specifically asked me to focus on:
- API design
- Database schema
- Class design
- Design patterns
- Authentication and authorization
HLD – 10 mins
Generic distributed systems questions:
- How would you handle idempotency while creating an order?
- How would you implement and use distributed locks?
- How would you handle network partitioning?
Overall, the interview focused heavily on DSA fundamentals, LLD depth, API/DB design, and distributed systems concepts.
Verdict: Selected
Interview Questions (6)
Search in Rotated Sorted Array
Longest Common Prefix
LeetCode problem: Longest Common Prefix.
Design a Restaurant Ordering System
Design a restaurant ordering system covering authentication, restaurant and menu management, cart management, order flow, payment, API design, database schema, class design, design patterns, and authentication/authorization.
Idempotency while creating an order
How would you handle idempotency while creating an order?
Distributed locks
How would you implement and use distributed locks?
Network partitioning
How would you handle network partitioning?