Kotak SDE-2 Interview Experience | Bar Raiser

Posted
7 Oct 2026
153 reads

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:

  1. How would you handle idempotency while creating an order?
  2. How would you implement and use distributed locks?
  3. 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)

  1. 01

    Search in Rotated Sorted Array

    Data Structures & Algorithms

    LeetCode problem: Search in Rotated Sorted Array.

    Open the problem
  2. 02

    Longest Common Prefix

    Data Structures & Algorithms

    LeetCode problem: Longest Common Prefix.

    Open the problem
  3. 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.

  4. 04

    Idempotency while creating an order

    System Design

    How would you handle idempotency while creating an order?

  5. 05

    Distributed locks

    System Design

    How would you implement and use distributed locks?

  6. 06

    Network partitioning

    System Design

    How would you handle network partitioning?

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Kotak Mahindra Bank recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!