Professional Documents
Culture Documents
For me, Each of the puzzles got repeated a number of times in interviews
even for top tech companies like Jabong, Infoedge, Paytm, Microsoft, Google
etc. these questions were asked.
A rich man died. In his will, he has divided his gold coins among his 5
sons, 5 daughters and a manager.
According to his will: First give one coin to manager. 1/5th of the
remaining to the elder son. Now give one coin to the manager and 1/5th
of the remaining to second son and so on….. After giving coins to 5th
son, divided the remaining coins among five daughters equally.
All should get full coins. Find the minimum number of coins he has?
We know that if the fifth son gets x5 then the fourth son gets x4 = 5*(x5
+ 1)/4 – 1 = x5 + (x5+1)/4 and third son gets x3 = 5*(x4 + 1)/4 – 1 = x4 +
(x4+1)/4 and so on. Representing what each son gets in terms of what
the fifth son gets gives:
x3 = x5 + (x5+1)/4 + ((x5+(x5+1)/4))/4
= x5 + (x5+1)/4 + 5(x5+1)/16
x2 = x5 + (x5+1)/4 + 5(x5+1)/16 + 25(x5+1)/64
x1 = x5 + (x5+1)/4 + 5(x5+1)/16 + 25(x5+1)/64 + 125(x5+1)/256
From this we know that the fifth son (x5) must get a number of coins that
can be expressed in the form x5 = 256y – 1.
x1 = 624
x2 = 499
x3 = 399
x4 = 319
x5 = 255
with each daughter getting 4/5 * 255 = 204 and the manager getting 5
gold coins
Two children are born in the same hospital, on the same year, on the
same day, and have the same father and mother. But they are not twins.
What is 1/2 of 2/3 of 3/4 of 4/5 of 5/6 of 6/7 of 7/8 of 8/9 of 9/10 of
10,000?
Ans- 1000, if you multiply all of the fractions everything cancels out
except for 1/10.
What are the pros and cons of Infosys Mysore
training?
Pros
Amazing Campus. You will find that you want. Gym, Swimming
pool, Cricket ground etc.
All the training materials that you need. Be it training slides,
library which will have almost all the books that you need.
You will make some amazing friends there. 3 months in Mysore
will be the most amazing period of your life.
Single room for guys and sharing room for girls with house
keeping. What else do you need.
Last but not the least, you get paid to learn. You may feel that the
salary that you are being offered in training is minuscule but remember
that the company is not earning anything from you but still it is paying
you. I think we should be happy for this.
I can go on and on. Since you have asked for cons I will list down some for
you. But these are not cons per se.
Training is a bit hectic. You will be taught too many topics within a
short period of time which some of us might find difficult to comprehend.
I was from a Non CSE background and I was taught HTML and JS in a 2
days. I had to re learn the topic during weekend as I did not understand a
single word in class.
Lot of emphasis is placed on tests and the marks that you obtain
and not on projects. By this I don’t mean to say that you will not be given
any projects but the projects that are undertaken does not place much
emphasis on coding many lines of code but mostly on debugging etc. But I
guess this is what they need when you are deployed in production.
Let me end by saying that Infosys training is not that difficult as some project
it to be. Please go with an attitude to learn and I assure you that you will nail
it. I hope this helps you. Happy Learning.