Tip 1 : Basics should be strong.
Tip 2 : Practice Regularly.
Tip 3 : Apply to the projects what you've learnt
Tip 1 : Resume should be neat and readable.
Tip 2 : Do not write anything which you don't know.
There were 3 coding questions based on Data structures and algorithms.



Consider the following graph
4 4
1 3
1 2
2 3
3 4
The graph has two bi-connected components
1 - 2, 2 - 3, 3 - 1
3 - 4
Hence the output is 2.
I did the question as I was instructed by my colleagues and as I had practised it before.



For the above BST:
‘NODE1’ = 6, ‘NODE2’ = 14
Distance between 6 and 14 = (Number of nodes in the path from 6 to 14) + 1.
So the path from 6 to 14 is : ( 6 -> 3 -> 8 -> 10 -> 14).
Distance between 6 and 14 = 3 ( i.e. 3, 8, 10 are in path) + 1 = 4.



If the given graph is :

Then the edge between 0 and 4 is the bridge because if the edge between 0 and 4 is removed, then there will be no path left to reach from 0 to 4.and makes the graph disconnected, and increases the number of connected components.
There are no self-loops(an edge connecting the vertex to itself) in the given graph.
There are no parallel edges i.e no two vertices are directly connected by more than 1 edge.
I was not able to do this question. I only did the brute force approach for this.
I was asked questions related to DB.
Then we discussed the projects on my resume and he cross questioned about the stacks I used in my projects.
Then after that he asked me some coding questions and some operating systems questions. Then he explained me the role for what they have been hiring.



Find the sum of fibonacci series up to ‘n’ numbers using recursion.



You have to find the factorial of a number using the recursion.

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