Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Good solution with converting to a slice of runes. The only point I would remove negation for unicode.IsLetter() and wrap up with 'if' the generating a string and appending it.
Maybe... I spend some time for getting complete understanding of your solution. )
I hope people judges what code is easier to understand...
This was my initial solution in python, but I feel that tracking both left and right is clearer.
I try to refactor your solution a little:
http://www.codewars.com/kumite/54eac32087ed7fbc8d000cb2?sel=54eac7ec87ed7f118c000bc5
Yeah, you are right. It was one-step solution without any refactoring at all. Your solution is better.
You don't need to store all the sums, you can update them on the fly - http://www.codewars.com/kata/reviews/54d9d8b15ca355f10100018c/groups/54ea9c0e87ed7fc0c9000a6e