TCS
Company
3. All the even numbers in the range 1 – 100 are written on the blackboard. Two players take turns putting the signs ‘+’ and ‘–’ respectively in front of any free number. The first player tries to maximize the sum.
What is the resultant sum?
Read Solution (Total 3)
-
- ans: 50
we get the series as -2+4-6+8....-94+96-98+100
we can write the above series as (-2+4)+(-6+8)+....+(-98+100)
Now we can add this series as all terms as 2 and no. of terms = 100/4 = 25
therefore ans = 2*25 = 50 - 11 years agoHelpfull: Yes(15) No(0)
- ans. 50
first person(to maximize) begins with marking + in front of 100 and the second person(to minimize) marks - in front of 99 and so on
+100 - 99 + 98 -97 ....
soln = 5*10 = 50 - 11 years agoHelpfull: Yes(5) No(5)
- tell me the meaning of these symbols please.
- 11 years agoHelpfull: Yes(3) No(0)
TCS Other Question