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.
I agree with @atmosphere1337 - this solution is out of bounds and dont't work as well. Why it is admitted as a valid code?
out of bounds
To the description should be added: "Include only words 4 or more characters long that appear at least 2 times in the string"
I too not recommended using eval.. I think this kata trying learn us work on state machine.
This comment is hidden because it contains spoiler information about the solution
Pssst. Try little bit of Python
Don't write code like C code, almost every non-C language has lots of built-in functions for everyone to use ;-)
Definitely a fun language :)
Wauw, I'm starting to like javascript looking at solutions like this one.
It has so many functions build in for you!
I know, just saying is not best practice to use it. Have a great day and happy coding :)
Using eval would not be recommended if you can't control the input (For example 'user input' -> could be executed as code)
This is a Kata though, not a function that would run after some user input on an actual application.
nice solution, although using eval is not recommended for security reasons.
Uuuuurgh my solution is so messy!
Very fun kata!
This comment is hidden because it contains spoiler information about the solution
Can confirm randomTest seems broken
Loading more items...