| |
GeekInterview.com > Placement Papers > Cognizant
| Print | |
Question: Four Members A,B,C,D are playing a game .A person losing a game should double the amount of others .B,C,D are losing in order after three games .The amount after 3 games are A&B having 40,D is having 16&C 80. Each questions carry one mark: a) who started with small amount of money? b)who started with greatest amount of money? c)what amount did B have?
|
| June 06, 2008 12:02:14 |
#9 |
| vignesh_cse |
Member Since: June 2008 Total Comments: 2 |
RE: Four Members A,B,C,D are playing a game .A person losing a game should double the amount of others .B,C,D are losing in order after three games .The amount after 3 games are A&B having 40,D is having 16&C 80. Each questions carry one mark:a) who start |
The answer is, a)A started with smallest amount of money b)B started with greatest amount of money c)B had 93 initially
The problem can be solved using BACKTRACKING
AFTER GAME-3 AFTER GAME-2 AFTER GAME-1 STARTING
A 40 20 10 5 B 40 20 10 93 C 80 40 108 54 D 16 96 48 24
|
| |
Back To Question | |