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.
Thank you for the advices !
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
@brubru777 I found a solution similar to yours. I think this type of approach is best pratice (on a memory pov for sure, even on a speed pov perhaps)
edit: I checked the difference of execution speed between the solution above and mine : the second is about 20 to 100 times faster on big strarr (with 9999 elements of length between 10 and 50)
This comment is hidden because it contains spoiler information about the solution