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 was thinking about it, but it's aloooooooooooooooooot of work.
Could someone please do a JavaScript translation of this kata?:)
This comment is hidden because it contains spoiler information about the solution
Yes, I completed it.
nth roots? Turn exactly 180°. This kata is about powers, not roots.
O( sqrt n * log n )
seems about right though. Does that time out? Are you using appropriate data types and structures?Has anyone completed the JavaScript version of this yet?
The solutions I've come up with so far either need to loop through √n * log2(n) variants or have to deal with nth roots which aren't precise in JS.
Could anyone point me in the right direction please?
See below.
Thanks for the feedback! I updated the instructions to make it clearer that punctuation is included in the test strings.
The Instructions section mentions "omitting punctuation and spaces". To make the instructions less misleading, it'd be better to mention that punctuation is actually used in the tests.
You should add description for 'length' path
so what was it?