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.
that doesn't change anything.
Going once through the array or twice saying one is best than the other is like saying that
N*2
is worse/better than2*N
. Both are just the same, about time complexity. And for instance, this solution is more efficient beacuse of python's interpreter when it comes to compare actual perfs.Hi. it is true. do you want me to modify the kata solution?