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.
@Padmanarayanan: Did you print the input to verify the output yourself? I just passed the tests, and it worked ok.
If you still believe there's an issue with the tests, post your code (+ the test input) in reply and mark it as a spoiler.
That's going to be help pin down the issue quickly.
Sorry mate, I got blinded. Mistook the
-del
for-delete
(but it's in fact-Delimiter
).Do you happen to know, if/how I can remove the previous comment?
My apologies @roba.
It does NOT remove any files, but is still something of an exploit/cheat solution (using Get-Content instead of a proper function outputting strings).
That's malicious code attemting to remove files. Do NOT try it on your own machine!
This comment is hidden because it contains spoiler information about the solution
I'm Polish, but French people often mistake me for a German (and Germans often tend to think I'm French). How about you, my friend?
Many thanks, Zizou!
Happy to follow you as well :D This should make us allies :)
This comment is hidden because it contains spoiler information about the solution
Didn't take English for granted. The culprit's name might as well have been written in the original Klingon.
The good part of the kata was forcing me to abandon the brute-force approach after failing the randomized tests (took too long to compute). So I had to look for a pattern in the results. And this pattern turned out to be really simple.
However, there's some discrepancy between the desciption:
and the in the input size during randomized tests:
I'd suggest updating the description and keeping the tests as they are. Let's emphasize elegant solutions as a way to faster and shorter code.
A really nice kata overall.
Some amendedments might be welcome, though (at least for Python):
PS. By looking at the test cases and output it's definitely possible to pass the challenge anyway ;)