TCS
Company
A and B play the following min-max game. Given the expression N = 12 + X*(Y - Z) where X, Y and Z are variables representing single digits (0 to 9), "A" would like to maximize N while "B" would like to minimize it. Towards this end, "A" chooses a single digit number and "B" substitutes this for a variable of her choice (X, Y or Z). "A" then chooses the next value and "B", the variable to substitute the value. Finally "A" 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
Read Solution (Total 6)
-
- ans : should be 30 because x*(Y-Z)= 18 so ans = 30
- 12 years agoHelpfull: Yes(3) No(1)
- remember for these kind of ques...
If x+(y-z)=11
x-y-z=2
x*(y-z)=18
here 12+ x*(y-z)= 12+ 18 =30
Therefore N=12+18=30 - 12 years agoHelpfull: Yes(3) No(0)
- ans:12
as A chooses 0 B places it at z
again A chooses 0 B places it at x or y
so ans is 12+0=12 - 12 years agoHelpfull: Yes(1) No(4)
- As we know
X*y-Z=18
X+Y-z=11
X-Y-Z=2
here,12+18=30 - 12 years agoHelpfull: Yes(1) No(0)
- kindly can u explain it??
- 12 years agoHelpfull: Yes(0) No(1)
- plz explain it!!!!!!
- 12 years agoHelpfull: Yes(0) No(0)
TCS Other Question