Tip 1 : Make sure you have your computer science fundamentals very clear.
Tip 2 : You should know the complexity of the code you write and should know the internal implementation of the data structure you use while coding.
Tip 3 : You should know about everything you write in your resume.
Tip 4 : Practice a lot of programming problems. Participate in competitive programming contests.
Tip 1 : Be honest about what you write in your resume.
Tip 2 : Should have at least 2 projects
Tip 3 : Maintain a precise and self-speaking one-page resume.
Tip 4 : Add technical achievements only.
This round was conducted on ms teams. This round was held to check the coding ability of the candidate.



The given Linked Lists are merging at node c1.
In this case, c1 is 'MERGING POINT'.

Traverse once through both the linked lists and find the longer one.
Connect the tail of the longer list to its head.
Now start from the head of the shorter linked list with two pointers as we did in the algorithm to find the cycle.
Find the point where both the pointers meet.
Reset one of the pointer to the head of the shorter linked list.
Now move both the pointers with the same speed (one step at a time).
The place where both the pointers meet is the merge point.



1. We will maintain an array called “islands” which will record the no. of islands visited.
2. Traverse through each element of the grid.
3. Check, if it is a land and it has not been visited yet i.e. grid[i][j] == 1, increment islands and change the value of that element to water i.e. 0.
4. Change the adjacent elements to water i.e. '0'.
This round was conducted on MS teams and was based on coding ability. It had 2 DSA Questions



You can use any string of A multiple times.
A =[“coding”, ”ninjas”, “is”, “awesome”] target = “codingninjas”
Ans = true as we use “coding” and “ninjas” to form “codingninjas”
the value of a node is the string length. We calculate the number of nodes in the recursion tree for string length=1, 2, ...., n respectively.
For example, when string length=4, the second layer of the recursion tree has three nodes where the string length is 3, 2 and 1 respectively. And the number of subtree rooted at these three nodes have been calculated when we do the mathmatical induction.
So time complexity is O(2^n).



If N = 2 and prerequisite = [[1, 2]]. Then, there are a total of 2 courses you need to take. To take course 1 you need to finish course 2. So, it is possible to complete all courses.
BFS uses the indegrees of each node. We will first try to find a node with 0 indegree. If we fail to do so, there must be a cycle in the graph and we return false. Otherwise we set its indegree to be -1 to prevent from visiting it again and reduce the indegrees of its neighbors by 1. This process will be repeated for n (number of nodes) times.
This was a System Design round.
Design something similar to red bus which can handle bookings and can onboard vendors and customers to their platform
Tip 1 : Clear out the requirements first.
Tip 2 : Convey your thoughts regularly and don't overthink the problem.
Tip 3 : Design small and then expand.

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?