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.
I think the fastest solution would be the most voted one converting to char array and then do the math because the modulo operation is slow.
Thx,
at my point of view your solution is the fastest and most sophisticated solution, due to no conversions of datatypes just math with int.
I don't know if it makes sense to calculate the exponent faster than suggested at the given link,
because i have and i have to convert the string into a character array.
Okay, comments are appreciated.
Hi pretty cool,
what i have to mention is, what exactly are you doing if
the use case changes and you would have to compute any string within any valid braces?