Also, pushing left is no faster than pushing right, in general.

On 5 Jul 2010, at 19:16, Ankur Sinha <[email protected]> wrote:

hi,

I know the rounds are all over ;) I'm just using up free time and
practising.

The analysis says to push everything to the right. Why do we even need
to do that? We can instead push everything left(skip all the dots).
Since the "pushed to left" and "pushed to right" images are mirror
images of one another, checking the 4 cases (which are symmetrical about
Y axis also) on the "pushed left" image is as good as checking on the
"pushed right" image.

This would save the "pushing to right" portion and maybe speed it up a
little.

Is there a flaw in this stream of thought?

Thanks!

Ankur

--
You received this message because you are subscribed to the Google Groups "google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/google-code?hl=en .


--
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to