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.
it can be seen in the home page (for people who don't know)
This comment is hidden because it contains spoiler information about the solution
These are solutions, so only people who already solved this kata can see the comments. Why do I need to use a spoiler flag then?
Use a spoiler flag.
This comment is hidden because it contains spoiler information about the solution
So what do you recommend, Ali?
Agree with Ali
This comment is hidden because it contains spoiler information about the solution
...as mentioned already 3 times before...
this is not correct, since it is mutating the original list
Use method chaining. It will be much more faster cos JVM can optimize .append().append() calls.
6 people voted this as Best Practices…
This comment is hidden because it contains spoiler information about the solution
True :-)
"""Do not mutate the original array/list."""
Loading more items...