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.
This kata is 9 years old. ChatGPT learned from this.
that was done by chatgpt lol
Nice one,really clever.I didn't think of that I had to use sum of cube formula to get the answer.
It's a special character in regex, it matches to any single character except line terminators.
So: /.*/ = any character any number of times
Please can you tell me what the dot is doing exactly?
This has been done with Regular Expression method.It's a part of a language,so you could find all info <3
I don't understand this notation. It obviously work, but can someone explain what does the arguments in the replace method mean?
nice one :)
why?
Very clear logic! But I feel a little bit dangerous to use loop like this.
Very readable, this one is excellent.
Description is poor. There should be different length of arrays/lists.
<<< In 8kyu >>>
Wow, this one is almost the same as mine, just a bit less verbose. Very readable.
Description is very poor.
For Javascript, the test case doesnt work