TCS
Company
Alok and Bhanu play the following min-max game.Given the expression
N=X-Y-Z
where X,Y, and Z are variables representing single digits(0 to 9).Alok would like to maximize N while Bhanu would like to minimize it.Towards this end,Alok chooses a single digit number and Bhanu substitutes this for a variable of her choice(X,Y,Z).Alok then chooses the next value and Bhanu,the variable to substitute the value.Finally alok proposes the value for the remaining variable.Assuming both play to their optimal strategies,the value of N at the end of the game would be
a)9
b)4
c)2
d)-18
Read Solution (Total 6)
-
- it will maximum of 2
- 14 years agoHelpfull: Yes(7) No(3)
- for this type of ques...remembr that X+Y-Z=11
X-y-Z=2
X*(Y+Z)+18
so above case anser will be2 - 13 years agoHelpfull: Yes(4) No(0)
- a)
- 14 years agoHelpfull: Yes(1) No(11)
- plz explain in details
- 14 years agoHelpfull: Yes(1) No(0)
- alok want to max N. so he should choose 0 first. bcz other values make N negative for x=y=z. alok selection x=y=z=0. N=0. Then bhanu sub the value of her choice which make N min. N=0-y-z=-y-z. Alok choose next value=1 and N=-1 and bhan's case N become N=1-y-z. The ultime digit alok should choose=9. therefore N=9-9-9=-18.therefore FINAL VALUE of N=-18(d)
- 14 years agoHelpfull: Yes(1) No(8)
- X-y-Z=2
X*(Y+Z)+18
so above case Answer is 2 - 9 years agoHelpfull: Yes(0) No(0)
TCS Other Question