Kotak SDE1 Barraiser round
- Posted
- 29 Mar 2025
Summary
I recently completed a Barraiser round for an SDE1 role at Kotak, which included DSA, LLD, and Distributed System questions. I later found out the opening was closed.
How it went
Recently I gave Barraiser round conducted by 3rd party for SDE1 role at Kotak.
DSA Question -
Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0's. You must do it in place. Example 1: Input: matrix = [[1,1,1],[1,0,1],[1,1,1]] Output: [[1,0,1],[0,0,0],[1,0,1]] Example 2: Input: matrix = [[0,1,2,0],[3,4,5,2],[1,3,1,5]]
LLD Question -
Design the backend system for an e-commerce platform that handles order processing. Consider aspects such as inventory management, payment processing, order tracking, and shipping integration.
Design API for any of the components from the sample problem. Create DB Schema and Class Structure. Understanding of Design Patterns if any could be used.
Distributed System Questions -
1) How does the distributed system maintains consistency in the database? 2) How will you handle sessions in distributed system?
Verdict - Reached out to recriuter and found the opening was closed for SDE1.
Questions asked (4)
- 01
Set Matrix Zeroes
Data Structures & Algorithms · Medium
Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0's. You must do it in place. Example 1: Input: matrix = [[1,1,1],[1,0,1],[1,1,1]] Output: [[1,0,1],[0,0,0],[1,0,1]] Example 2: Input: matrix = [[0,1,2,0],[3,4,5,2],[1,3,1,5]]
- 02
Design E-commerce Platform Backend
System Design
Design the backend system for an e-commerce platform that handles order processing. Consider aspects such as inventory management, payment processing, order tracking, and shipping integration. Design API for any of the components from the sample problem. Create DB Schema and Class Structure. Understanding of Design Patterns if any could be used.
- 03
Database Consistency in Distributed Systems
System Design
How does the distributed system maintains consistency in the database?
- 04
Session Handling in Distributed Systems
System Design
How will you handle sessions in distributed system?