TCS
Company
Alok and Bhanu 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), 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 or 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
1) 93
2 30
3) 12
4) -69
Read Solution (Total 4)
-
- 30
- 14 years agoHelpfull: Yes(8) No(11)
- As both are playing at there best..we can think as..
Firstly Alok chose no. 6 and Bhanu placed it in place of Y.
Then Alok chose no. 3 and Bhanu placed it in place of X.
Then after Alok chose no. 0 as only Z was remaining and he wanted to maximize it.
So the no. is= 12+3(6-0) =30.
You can think over it and understand the answer. - 14 years agoHelpfull: Yes(5) No(2)
- ANS:30
- 14 years agoHelpfull: Yes(3) No(7)
- Can u pls explain with clear procedure?
- 14 years agoHelpfull: Yes(1) No(0)
TCS Other Question