Tip 1 : Sleep Well and Eat Well
Tip 2 : Practice by mock interviews
Tip 1 : Have put projects on JAVA
Tip 2 : Give skill set info correctly
- Morning time
- Environment was good.
- No
- Interviewer was good
1. In the case of the index allocation scheme of various blocks to a file, the maximum size (possible) of the file would depend on :
a. the total number of blocks that have been used for the index, size of all the blocks
b. the actual size of all blocks, the size of the blocks’ address
c. the of the blocks’ size, the blocks’ address size, and the total number of blocks that have been used for the index
d. None of the above
Tip 1 : Answer - A
Tip 2 : Read Galvin for OS thoroughly.


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.



Here XOR denotes the bitwise operator (^).

For the array [ 4, 7, 9, 10] and ‘k’=2
In the first step, we can choose the last bag. So the answer will be 10 and the array will be [4, 7, 9, 5].
In the second step, we can choose the second last bag. So the answer will be 19 and the array will be [4, 7, 4, 5].
So the final output will be 19.






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.
- Morning time
- Environment was good.
- No
- Interviewer was good
1- Have you been a mentor or had a mentor?
2- Describe your responsibilities at your current job.
3- What type of teams have you worked with? What was your role?
Tip 1 : Get Creative with Words
Tip 2 : Skills are Equally as Important

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?