Tip 1 : practice atleast 100-150 question on basic topics . Fundamentals should be strong
Tip 2 : Should have a good grasp on computer subjects taught in your curriculum
Tip 3 : Be calm and dont get stressed on not answering the question, just say no if you dont have the knowledge.
Tip 1 : Java is a preferred language. If you have practised in java, it will be easy for you win their trust.
Tip 2 : Web development projects might be useful.
Slot was provided by the company.
Online environment with camera and mic on.
It was an MCQ round with 60 questions on Operating system , aptitude, DBMS , data structure, advance trees ,oops
2 interviewers



If the given linked list is 1 -> 2 -> 3 -> 4 -> 5 -> NULL.
Then rearrange it into 1 -> 5 -> 2 -> 4 -> 3 -> NULL.



For the binary trees in the image below.

The left tree in the image is not a complete binary tree that’s why it is invalid and the right tree in the image is a valid complete binary tree which contains total 6 nodes.
2 interviewers



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Approach 1 using 3 for loops.
Optimising to 2 for loops and finallly to one.

N = 4
K = 1
NODE = 1->2->3->4

You can see there is a loop from the ‘1st’ node to the ‘3rd’ node (0 based), so we will remove all nodes from (1 - 3), so the answer is [ 1 ].
Using hare - tortoise method

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