# maths-somebody!anyone help

An arbitary list of integers both positive and negative is presented to two player,playerA and playerB.with A playing first in there turn,either players is allowed to pick the first or last number from the remaining list,and the number is deleted from the list.As usual,players takes turn.
When the list turn empty,the game ends.The player with the highest total point wins.design an alogrithm to determine for a given input list if the first player can force a win against any opponent?
plz help my brain is now fried for that

1. 👍 0
2. 👎 0
3. 👁 60

## Similar Questions

1. ### help please

An arbitary list of integers both positive and negative is presented to two player,playerA and playerB.with A playing first in there turn,either players is allowed to pick the first or last number from the remaining list,and the

asked by dam on May 10, 2016
2. ### math

Which statement is true? A.The sum of two positive integers is sometimes positive, sometimes negative. B.The sum of two negative integers is always negative. C.The sum of a positive integer and a negative integer is always

asked by Savannah on September 24, 2013
3. ### Math

Paulo withdraws the same amount from his bank account each week to pay for lunch. Over the past four weeks, he withdrew one hundred twenty dollars. Which rule best applies to determine the change in his account each week? 1. The

asked by Bilbo on September 11, 2013
4. ### math

Find the sum of the first one thousand positive integers. Explain how you arrived at your result. Now explain how to find the sum of the first n positive integers, where n is any positive integer, without adding a long list of

asked by Anonymous on May 16, 2016
5. ### Math

Tell whether the difference between the two integers is always, sometimes, or never positive. 1)Two positive integers. Never 2)Two negative integers. Sometimes. 3)A positive integer and a negative integer. Sometimes. 4)A negative

asked by Zero on February 19, 2015
6. ### Chemistry

I would really like to understand how to do these problems, because my exam is coming up in a few weeks. I still cannot comprehend how you can tell if a system is is positive or negative according to reaction. For #1, I presume it

asked by Rainie on March 27, 2014
7. ### Chemistry

I would really like to understand how to do these problems, because my exam is coming up in a few weeks. I still cannot comprehend how you can tell if a system is is positive or negative according to reaction. For #1, I presume it

asked by Rainie on March 28, 2014
8. ### Math

Tell whether the sum between the two integers is always, sometimes, or never positive. Two Positive Integers: Sometimes One Positive and one negative integer: Always Is it right?

asked by Yuki on September 11, 2016
9. ### math

what is the factorial of a negative number? The factorial function has singularities at the negative integers. You can see this as follows. For integers we define: (n+1)! = (n+1)n! and we put 0! = 1 So, from 0! you can compute 1!

asked by chris on July 10, 2007
10. ### Math

We are adding positive and negative numbers. The question is State positive or negative or it depends along with my answers. Are these correct? Positive + positive: positive Positive + negative: it depends Negative + negative:

asked by Carly on February 12, 2016

More Similar Questions