Submitted Questions

  • Solve Min-Max Game

    Alok and Bhanu play the following min-max game. Given the expressionN = 9 + X + Y - Zwhere 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...

    Avinash Chourasiya

    • Nov 12th, 2011

    It is question of Artificial Intelligence, and solved by various modular steps. But the simplest logic for answering these type of questions is If ((X) (operator)(expression)) then if(operator=="+")...