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 am in the same situation now. Do you have any tip on what to look out for?
Edit: After posting the spoilers from moonberry where revealed. It was indeed related to
limit
andsuppress
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Those tests have been removed now.
You still have to wrap the function, to maintain backwards compatibility, but you don't have to define additional unrelated objects anymore.
\u002a\u002f\
equals*/
, which ends the comment. Then the rest is some code that loads a jar that contains some code that modifies the JVM and passes the tests.Check out my solution: https://www.codewars.com/kata/reviews/59ea23a2772999e9fa001b2f/groups/5d9fa0a3e1cd9d000193fa43
Also with Java 9 I would have done it slightly different, involving Stream.interate() with the Predicate.
Easy to do - satisfies requirements. ¯_(ツ)_/¯
Thanks.
I'm sorry but I can't find it. Where do you mean?
Pretty sure it does not require any code transforms, so it can be solved for any kind of tail recursion.
This comment is hidden because it contains spoiler information about the solution
Man I really wish codewars had Java 9, there are some stream improvements that I think could help. Will work on this kata soon :)
LOL - Looking at the other solutions, it seems I overthunk this one :-(
So we won't encounter a case where this happens.
Loading more items...