Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
In this round, we had 2 questions. The first question was related to Binary Search and the second one was related to DSU.



A = [2, 3, 0] , B = [5, 1]
For the first index, A[0] = 2
In array B only 1 is less than 2. Therefore the answer for the first index is 1.
For the second index, A[1] = 3
In array B only 1 is less than 3. Therefore the answer for the second index is also 1.
For the third index, A[2] = 0
Both the elements of array B are greater than 0.
Therefore the answer for the third index is 0.
Hence, the final answer is [1,1,0] in this case.
Solved using Binary search and sorting.



This question was a direct application of DSU + Maths (Prime Factorisation)
In this round, I was asked a single coding question related to Segment Trees and at the end was also asked to explain the time and space complexities of the code



1. UPDATE_INDEX(IND, VAL) - It updates the value of ARR[IND] to VAL.
2. SUM\_OF\_RANGE(l, r) - It returns the sum of the subarray ARR[l] to ARR[r] i.e. ARR[l] + ARR[l+1] + ARR[l+1] + ….. + ARR[r-1] + ARR[r].
The idea is to pre-process the given array and break it down and represent it in the form of a tree.
For the update query, a subtree of the tree will be modified.
For the sum query, we will iterate over the subtrees and the sum will be calculated.
We can perform all these operations comfortably using a Segment Tree.
This was a System Design Round with more alignment towards Low Level Design (LLD).
Design Book My Show
In this, we need to tell the database type in which we want to store our data. And failure cases like what if the server gets crashed(use master-slave).
Then store the data in 3rd normal form for better organisation. Some transactions like ticket booking gets cancelled, some locking cases like when multiple users are booking the same seat concurrently. So, we need to handle these type of edge cases as well.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?