Q2. A Game played between 2 players. Counter starts from zero. You can add a Minimum of 2 and a Maximum of 4. Whoever reaches the Number 40 by following the rules of the game wins.
Eg: Player 1 says 3
Player 2: 6
Player 1: 10
Player 2: 13
Player 1: 17
Player 2: 20 and continues until one says 40 and he is the winner.
Identify the logic to win the game always. Also, even when the rules of the game changes to min 4 and max 7 and the winning number is 41. No matter the rules of the game, your logic should apply.
It’s an aptitude question give me the logic ji
Upendra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.