TCS
Company
alok and bhanu play the following min-max game.given the expression n=19+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.fina lly alok proposes the value for the remaining variable.assuming both play to their optimal strategies,the value at the end of the game would be
Read Solution (Total 5)
-
- its ans is 19+18=37.
alwayz remember:
x*y-z=18
x+y-z=11
x-y-z=2
try substituting the values u'll get the ans.
- 13 years agoHelpfull: Yes(42) No(6)
- the value of x*(y-z) is 18 .. so answer will be 18+19=37...
- 13 years agoHelpfull: Yes(3) No(4)
- under best strategy x*(y-z) will always get a value of 18.
hence ans is 37 - 13 years agoHelpfull: Yes(2) No(4)
- Alok strategies to max..
bhanu strategies to min..
equation===19+x*(y-z)
at first alok put vale as his strategies to max so he put x=9..
then bhanu ,, ,, ,, min he put y=0
at last alok max z=0
now equation 19+9*(0-0)
=19 (ans).. - 13 years agoHelpfull: Yes(1) No(19)
- ther is some short cut 19+18=37 is ans
- 13 years agoHelpfull: Yes(1) No(1)
TCS Other Question