Maybe I found it by myself.

If founding opposite, I have to clear the list.
But I cleared between opposite chars (most left to right).

If AB is opposite.

Input : XABC

my output -> XC
correct -> C

right?

-- 
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