Tip 1 : Use the internet for programming practise.
Tip 2 : Prepare example for everything concept.
Tip 1 : Write everything you know, don't write any false things in your resume
Tip 2 : Write every project you have worked on and have experience
It was in afternoon and evironment was good.




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.



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
It was in evening and interviewer was also nice .


1. Some bulbs can glow by multiple switches and some are not glowed by any switch.
2. If any of the switches that can glow a bulb is turned ‘ON’, then the corresponding bulb will glow.
Consider 3 switches with labels [3, 5, 7] and we need to find the 5th glowing bulb from the start after turning these 3 switches ON.
We can see that bulbs numbered 3, 6, 9, 15, 18 … will glow if the switch having label 3 is turned ON.
The bulbs numbered 5, 10, 15, 20 … will glow if the switch having label 5 is turned ON.
The bulbs numbered 7, 14, 21, 28 … will glow if the switch having label 7 is turned ON.
It implies that bulbs numbered 3, 5, 6, 7, 9, 10, 14, 15, 18, 20, 21… will glow when these three switches are turned ON.
The 5th glowing bulb from start is assigned integer 9. Thus, we should return 9.
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
How do you remove whitespace from the start of a string?