Tip 1 : Mention some good projects on resume
Tip 2 : Be confident
Tip 3 : Good with computer science basics and ds and algo
Tip 1 : Good Projects
Tip 2 : Having some achievements is plus point



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.



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.



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'.



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.
Can you work under pressure?
Are you willing to relocate or travel?
What are your goals?
What motivates you to do good job?

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