Kotak SDE-2 Interview Experience | Bar Raiser
- Posted
- 7 Oct 2026
Summary
I was selected for the SDE-2 role at Kotak after successfully handling DSA, LLD, and system design questions.
How it went
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
Questions asked (6)
- 01
Search in Rotated Sorted Array
Data Structures & Algorithms
Open the problemLeetCode problem: Search in Rotated Sorted Array.
- 02
Longest Common Prefix
Data Structures & Algorithms
Open the problemLeetCode problem: Longest Common Prefix.
- 03
Design a Restaurant Ordering System
System Design
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.
- 04
Idempotency while creating an order
System Design
How would you handle idempotency while creating an order?
- 05
Distributed locks
System Design
How would you implement and use distributed locks?
- 06
Network partitioning
System Design
How would you handle network partitioning?