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.
sqrt?
A prime base > 16 will fox this, surely?
Furthermore: below, not up to and including.
There seem to be a lot of string copies in this. Why not just do the allocation and copy once, when you've found the largest-scoring word?
Almost identical to mine. As well as the OB1 problem (the final string might be of 27 bytes including the null terminator), there's a second issue: overflow in
letters
.won't suffer from this.