Tip 1 : Use Leetcode , Geekforgeeks and Hacker earth for programming practise.
Tip 2 : prepare example for everything concept.
Tip 1 : Write every thing you know, don't write any false things in resume
Tip 2 : Write every project you have worked on and have experience
It was in afternoon and evironment was good.
10 Data Structures and algorithms
10 databases
10 logical programming
20 aptitude
Number Of MCQs - 50
It was in afternoon and evirnoment was good
There are 8-10 members are also there, so bit nervous but I have faith in me.


1. If the list is empty, the function immediately returns None because there is no middle node to find.
2. If the list has only one node, then the only node in the list is trivially the middle node, and the function returns that node.
1) First find length of linked list through traversing.
2) then if length is odd then select the middle element.
3) If length is even then divide it by 2 and select next element after that.



In the given linked list, there is a cycle, hence we return true.

It was in evening and interviewer was also nice.
There is a room with a door (closed) and three light bulbs. Outside the room, there are three switches, connected to the bulbs. You may manipulate the switches as you wish, but once you open the door you can’t change them. Identify each switch with its bulb. All bulbs are in working condition.
Let the bulbs be X, Y, and Z
Turn on switch X for 5 to 10 minutes. Turn it off and turn on switch Y. Open the door and touch the light bulb.
1. the light is on from the bulb, it is Y
Now we will check other two off bulbs
2. the bulb which is hot, it is X
3. the bulb which is cold, it is Z

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