TCS
Company
Numerical Ability
Arithmetic
Alok and Bhanu play the following min-max game. Given the expression N=40+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
Read Solution (Total 3)
-
- its 49. alok 1st choice 9, bhanu substitutes it to z, 2nd choice 9, she chooses y, 3rd, 9.. she chooses x, then equation wud be 40+9+9-9= 49
- 9 years agoHelpfull: Yes(5) No(1)
- Alok -9 so bhanu select is as z as it is max and N is minimised..
Alok again 9 so bhanu have no options left so either x or y = 9
Nd atlast again 9 choosen by alok so left x or y = 9
So N = 40 + 9 + 9 - 9 = 49 - 9 years agoHelpfull: Yes(3) No(1)
- X+Y-Z=18,
40+18=58 - 9 years agoHelpfull: Yes(1) No(3)
TCS Other Question