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.
same :c
What a nice day i have 49 :) Excelent :) Now it is time to struggle where i have more :)
Nothing special Thanks for this kata It is just 2 days i struggling wih this kata :) But i couldnt solve yet. :)
It is just 2 months since I created it. Do you have some question ?
Only 1 comments ? It means no one wanted to try?:)
It was quite easy ..Thank u
Please use spoiler flag next time.
The regex used here: /^(.*?)\1+$/
basically means : match a string that starts with any characters (that should be repeated as few times as possible) and put that inside of a group. This group can be repeated 1 or more times until the string ends.
I assume you got confused by the '*?' the asterisk means 0 or more times and the following '?' makes this expression lazy - means match as few characters that follow the pattern as possible.
the '\1' refers to the pattern of the matched group, which can be repeated 1 or more times.
This way he matches the shortest pattern that is repeated through the entirety of the string. A pretty smart way of solving this exercise.
This comment is hidden because it contains spoiler information about the solution
i get stuck around 2 days Did u solve this kata ?
Guys give me hand please i cant find solution I get stuck I cant break into pieces shufFled STRING
I am reaally sorry :( i TRIED to delete but i couldnt :(
Please, use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
It hurts me so much Really i got stucked :)
Consistency is a key It took my 3 hours :) But i learn a lot Wish u best guys ... And wish you happy hardworking days...
Loading more items...