Tip 1 : Ist round is machine coding round and that plays crucial role in your selection. Practice as much as you can for this round.
Tip 2 : Do practice for time & space complexities as well
Tip 3 : Do company wise preparation, look for interview experiences and try to map out commonly asked questions and categories of those questions and practice accordingly
Tip 1 : Try to maintain single page resume.
Tip 2 : Focus on skills, projects and work experience.
It was online coding round in which you have to solve 3 problems in approximately 70 minutes,
Timings was flexible, link was accessible upto 2days.



Input:
'n' = 3, 'w' = 10,
'profit' = [5, 11, 13]
'weight' = [2, 4, 6]
Output: 27
Explanation:
We can fill the knapsack as:
1 item of weight 6 and 1 item of weight 4.
1 item of weight 6 and 2 items of weight 2.
2 items of weight 4 and 1 item of weight 2.
5 items of weight 2.
The maximum profit will be from case 3 = 11 + 11 + 5 = 27. Therefore maximum profit = 27.
Use DP with memoization to solve this problem.



‘N’ = 4, ‘K’ = 2
‘ARR’ = [1, 1, 2, 3]
There are ‘3’ subarrays with ‘2’ distinct elements, which are as follows: [1, 2], [2, 3], [1, 1, 2].
Thus, you should return ‘3’ as the answer.
It was machine coding round in which I was asked to write working code for SPLITWISE.
Design Splitwise
An expense sharing application is where you can add your expenses and split it among different people. The app keeps balances between people as in who owes how much to whom. Example You live with 3 other friends. You: User1 (id: u1)Flatmates: User2 (u2), User3 (u3), User4 (u4)---This month's electricity bill was Rs. 1000.Now you can just go to the app and add that you paid 1000,select all the 4 people and then select split equally .Input: u1 1000 4 u1 u2 u3 u4 EQUAL For this transaction, everyone owes 250 to User1.The app should update the balances in each of the profiles accordingly. User2 owes User1: 250 (0+250)User3 owes User1: 250 (0+250)User4 owes User1: 250 (0+250)
It was 2 hours round,
- I took 15 minutes to clearly understand the problem and discussed it with my interviewer, than I started writing code and I was speaking throughout the interview about whatever I was writing.
- Divide code into classes like have different classes for adding expense, showing expense and adding users;
It was pure DSA round.



If two nodes have the same position, then the value of the node that is added first will be the value that is on the left side.
For the binary tree in the image below.

The vertical order traversal will be {2, 7, 5, 2, 6, 5, 11, 4, 9}.



For the given if ARR = [1,1,3],the answer will be [ ],[1],[1,1],[1,3],[3],[1,1,3].
It was hiring managerial round.
He asked me few behavioural questions and had a good discussions about my projects, dbms, OS and oops concept.
Tip 1 : Prepare for your projects
Tip 2 : Go through your resume and prepare yourself according to skills, projects and work experience mentioned in your resume
Tip 3 : Be confident.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?