Tip 1 : Practice first 50 questions from Leetcode
Tip 2 : Have your programming concepts on tips
Tip 3 : Watch System Design tutorial
Tip 1: Add only those skills on which you are perfect at.
This was a coding round in which 2 coding questions were given.
The first question was a medium question of Arrays and algorithms and the 2nd question was a hard based on Linked List.
Total 40-45 minutes were given to solve both the question. At last the interviewer asked about my previous projects which I have worked on.



If two or more such subarrays exist, return any subarray.
Create a map to store a key-value pair, i.e, key = prefix sum and value = its index, and a variable to store the current sum and the sum of the subarray as s.
Traverse through the array from start to end.
For every element update the sum, i.e sum = sum + array[i]
If the sum is equal to s then print that the subarray with the given sum is from 0 to i
If there is any key in the map which is equal to sum – s then print that the subarray with the given sum is from m[sum – s] to i
Put the sum and index in the map as a key-value pair.



1. If you encounter a situation when 'B[i]' is greater than the number of remaining nodes in the list, then simply reverse the remaining nodes as a block and ignore all the block sizes from 'B[i]'.
2. All block sizes are contiguous i.e. suppose that block 'B[i]' ends at a node cur, then the block 'B[i+1]' starts from the node just after the node cur.
Linked list: 1->2->3->4->5
Array B: 3 3 5
Output: 3->2->1->5->4
We reverse the first block of size 3 and then move to block 2. Now, since the number of nodes remaining in the list (2) is less than the block size (3), we reverse the remaining nodes (4 and 5) as a block and ignore all the block sizes that follow.
In this method we need to traverse the list only once in the worst case. The algorithm makes used of the idea to reverse a normal linked list.
1.Traverse the list and get the pointer to the mth node.
2.Reverse the list from mth node till the end of the linked list.
3. Connect back the links properly.
After this, I also told about the other method that is to store the elements in the stack after the mth node and den Pop back and connect the links properly.
This round was based on the System Design principles where the interviewer asked to design a problem and implement the same through coding.
The interviewer also expected few of the unit tests to be written after Is solved the problem.
The whole discussion went for 60-70 minutes
Design and Implement the Tic Tac Toe Game.
Tip 1: Be very clear with the requirements needed.
Tip 2: Think about what all classes and variables are required.
Tip 3: Dry run your code with all the possible cases.
This round was more of a discussion round where the interviewer gave me a scenerio and a feature to be implemented in one famous app so as to solve the proeblem.
Implement a feature so as to get and verify the vaccination status in the Arogya Setu App.
Tip 1: Write down all the classes needed to solve the problem
Tip 2: Clear all the doubts and ask for all the requirements

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?