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.
haha could you do it even shorter ? [/ironie off] . Just kidding. Very nice solution!
you could replace your GetNumber() Function with one single Line (Regex).
var tmpI = Int32.Parse(Regex.Match(tmpStr[i], @"\d+").Value);
tmpI would then have the number you are looking for. tmpStr[i] would be the word you are looking at.
tricky one. Especially the testcase with the expected output of 12933. A good example for "learn and understand the fundamentals".