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.
Now they do.
Duplicate issue.
Fixed
Just add the apostrophe (
/(|\w']+)/
) . . .This comment is hidden because it contains spoiler information about the solution
Thanks for the feedback! Completely overlooked the potential confusion there- I've changed the template code to use 'digits' instead of 'num' to ensure it's meaning is seperate from the actual number passed in :)
This comment is hidden because it contains spoiler information about the solution
Ok, academic background... so i can't give you a solution without a little task;-). Solve the following kata and you can read the hidden discussion text (www.codewars.com/kata/recursive-replication/discuss) - yesterday i gave a short description what to do (similar and transferable). But don't "cheat" this kata, use recursion;-)! If you have questions later on... call my name;-)!
Yes, the one before was not long ago and of same kind (but you can test and protect such solutions in your testcases;-)). Marks in exam? One clever point is enough;-). It's codewars, so it's really not important to get a mark for something. For me it's only fun and a little bit pastime, nothing more - get no money for solutions:-)). So don't compare exam, job and codewars. And if you have learned something... everything is ok;-).
PS: Just upvoted / 4 points... Hope you are happy now and this will make your day:-) ;-)! And next time no new regex...:-(
Always? It's the second time i did it on regex and solved more than 1800 katas... So "always" is a little bit extreme:-)! And it's not really a cheat, it's a working solution - this is a (big) difference. But yes, i will vote it up, sometimes i forget it, but mostely i do (i'm very "generous" with giving points, but is it too easy not always):-)! By the way, there are so many similar katas, so sometimes it's boring to do exactly what description contains;.)!
Random tests added ;)
True, I agree! It's all about intuitiveness: Changed.
Hi,
the expected result is "0123456789ABCDEFabcdef", BUT the regular expression is "[0-9A-F]".
In BasicTests for this pattern is the expected result "0123456789ABCDEF".
It's seems definitely incorrect.
(C#-Solution)
Loading more items...