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 comment is hidden because it contains spoiler information about the solution
I can write the algorithm for automata and get the desired output but i have no idea how to use regex here. Can someone pls explain or show an example?
The C++ version of this kata seems to have some major problem with execution time and should probably be looked at...
D translation
I created a function that returns true or false, but I don't know how to add it in the current code: PATTERN = re.compile(r'')
Could someone please explain how I post my function in this code so that the tests work
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wait, it is claimed that
The input should consist only of binary digits - no spaces, other digits, alphanumeric characters, etc.
But in the next string the last example for JS is
multipleof3Regex.test(' abc ') should be false
.But ' abc ' can NOT be input, because it contradicts the condition, can it?
https://www.codewars.com/kata/reviews/603be37487d8350001751c2a/groups/60ab87160e457e00011b5f02
https://www.codewars.com/kata/reviews/546e0f7d018e955947000106/groups/60ab820447d5040001e1dc40
Needs more test cases (at least in Java). My deliberately-bad solution passes the random tests by luck (occasionally).
This comment is hidden because it contains spoiler information about the solution
Without spoiling anything - how fast does my code have too be to pass the attempt? I've got an R-script that takes ~5s to run "E" 9 at the moment and its just not cutting the mustard.
How I can convert Dot to Int???
This comment is hidden because it contains spoiler information about the solution
Loading more items...