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.
cool kata
looked easy at first but then later realised that it needs more thinking than you expect
OP solved it, closing. Also, the issue of input mutation is raised above
Not a kata issue! I've tested with my solution and it passed so it is likely you have selected a deprecated version, just reset the trainer will do! Also, your code is wrong as it reverses the whole text instead of reversing the order of invidual words!
I'm a newby here, is it possibile that this kind of error is not caused by my code, but something is wrong importing the test?
Typescript related.
test.ts:2:35 - error TS2306: File '/workspace/default/solution.ts' is not a module.
Approved
python new test framework is required. updated in this fork
Hi @AlexDRichards - I just solved this to resolve this query; I agree that the description isn't 100% clear - there are many comments already in Discourse below about this - but you should be able to work out from the given Tests in your language what the expected behavior is? Or are there no examples in your language?
Here is a clearer example hopefully:
Doesn't explain how to hand multiple spaces... do they belong to the word in front of them or behind them? Is it different for single spaces? Please clarify, I don't want to hack and slash through the problem...
I agree. Having read the specific note:
I assumed it to mean "handle" as in find and correct ... why include the note at all if they're to be left as is? Description should be updated to either remove the note or change it from "handle" to "maintain".
It's not explained how exactly should we handle them.
BRUH
Ruby: input is mutable and used afterwards to produce reference and error message
Loading more items...