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
Then you've not seen worse xD
This comment is hidden because it contains spoiler information about the solution
Where is myjinxin2015? I hope he is safe :)
This has to be the closest thing to a CTF on Codewars.
Okay it's language-specific. PHP has PCRE implemented.
Is it intentional that PCRE-style recursion using
(?R)
and(?<n>)
is not supported?Admin, is this an acceptable solution?
Such a simple solution needed to solve this kata. Overthinking got me finding another.
Test is giving the error below;
"Your regex should NOT match";
'aaaa c c ce e eeefffff ll pppppp '
' ccc eeee hhhhhh llloo t vvvv v yyyy y '
' hhhh xx xxyyy'
And more like that. Last I checked those are in alphabetical order with an arbitrary number of spaces at any index in the string.
Would fail for
cycle(1, [1,2,3], 3) == 1
Absolutely no need giving an array as input. Integer
n
would suffice.This assumes the elements are numbers.
FArekkusu's brain be like;
O(n) speed < O(n log n) : n <= 1
XD
This issue is not fixed.
Loading more items...