Tip 1 : Learn from the mistakes
Tip 2 : Consistency
Tip 3 : Never Give Up
Tip 1 : Simple and short providing the required information
Tip 2 : Single page resume with showing all the multiple projects which have done.
The first round was an online Hackerrank test which had a duration of 60 minutes. It consisted of 1 Coding question and 15 MCQs that consisted of questions from topics like OS, DBMS, Algorithms, etc.




The area of the largest square submatrix with all 1s is 4.
This round lasted for an hour. The interviewer was friendly and he started off by giving his introduction. Then he asked about myself. After that he started giving me questions.



1. The output array should have the same ordering of elements as the original arrays.
2. Even if a particular element appears more than once in each of the three arrays, it should still be present only once in the output array.
3. If there are no common elements in the arrays, return an empty array.
Consider the three arrays A = [ 2, 3, 4, 7 ] , B = [ 0, 0, 3, 5 ] , C = [ 1, 3, 8, 9 ]
The output array should be [ 3 ] as 3 is the only element which is present in all the three arrays.


The problem can be solved using simple recursive traversal. We can keep track of level of a node by passing a parameter to all recursive calls. The idea is to keep track of maximum level also. And traverse the tree in a manner that right subtree is visited before left subtree. Whenever we see a node whose level is more than maximum level so far, we print the node because this is the last node in its level (Note that we traverse the right subtree before left subtree). Following is the implementation of this approach.
This interview was started with a general introduction followed by a little discussion on my past projects. He directly told me that. he will be asking two coding questions. If i solve them, then you are selected for the next round otherwise no.



Let ‘N’ be: 10
The 10th ugly number is: 12



F(n) = F(n-1) + F(n-2),
Where, F(1) = F(2) = 1.
For ‘N’ = 5, the output will be 5.
This was the Technical + HR round.
The interviewer asked something from every project which I mentioned in my resume.
He then tested my OOP concepts by asking some standard OOPs questions.
After this he asked me basic HR questions like strengths, weakness, favorite team with which you have worked till now, why ServiceNow?.

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