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 -
Verdict - Reached out to recriuter and found the opening was closed for SDE1.