in reply to Re^5: Puzzle: Given an array of integers, find the best sequence of pop / shift...
in thread Puzzle: Given an array of integers, find the best sequence of pop / shift...
Okay, I understand what you are saying - but I'm still not sure if I buy it. Isn't this mistakenly assuming (like I did in my original reply) that each player (or at least player 2) will take the highest of the two available numbers at each turn?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Puzzle: Given an array of integers, find the best sequence of pop / shift...
by davidj (Priest) on Mar 20, 2006 at 14:01 UTC |
In Section
Seekers of Perl Wisdom