Kotak SDE 2 Backend Interview | Round 1 - Bar Raiser
Summary
I was interviewed for a SDE 2 Backend role at Kotak and faced two DSA coding questions, an LLD design discussion, and several HLD topics.
Full Experience
Kotak SDE2 - Round 1 (Bar Raiser) Interview
- DSA - 2 Questions
- Roman to Integer
- Remove Duplicates from Sorted Array
- LLD - Event Ticket Booking
Asked to cover:
- DB Schema
- Classes & Relationships
- Class Methods + Parameters
- API Request & Response
- Design Patterns applicable
- Concurrency / Seat Booking considerations
- HLD
Distributed Locking
- What is distributed locking?
- How can we achieve it?
- What happens if a lock is held for a long time?
- How do we handle lock expiry?
Consumer / Duplicate Processing
- How do you handle duplicate processing at consumer end?
- How do you make consumer processing idempotent?
Backpressure
- What is backpressure?
- What problems can it create?
- How can we resolve/handle it?
Downstream Service Failure What happens if a downstream service fails?
Discuss handling at:
- Service level
- API Gateway
- Producer
- Event / Consumer level