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.
Interesting solution
shoot thats actually ki nda crazy
Never tried putting a sign of greater than equal in condition before)
whenever you get a regex in a task or in work, try working through it with an app like regex101 (or any other alternative). It neatly shows the result of your regex, ou can input test strings etc. Great stuff for learning regex. Just remember to always select JavaScript (or EcmaScript) interpreter as there are subtle differences
You're not wrong tho. I never thought of that..
This comment is hidden because it contains spoiler information about the solution
That regex makes it so we only replace words of 5 or more letters.
This comment is hidden because it contains spoiler information about the solution
Not Bad :)
this test need a>b inputs.
Yikes. Nice!! I need to remeber to reach for regex
Problem states that
a<b
but yeah.. I can see it being a problem with unknowns.This comment is hidden because it contains spoiler information about the solution
Another flaw of this solution is when a>b the result array will be null
Loading more items...