in reply to Re: 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...

You can tie or win with this strategy, but you don't get the best possible score. So it doesn't solve the puzzle.
  • Comment on Re^2: Puzzle: Given an array of integers, find the best sequence of pop / shift...