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.
Same here xD I definiely over-thought this one
Memory shouldn't make a difference.
a = Array(1e7); for ( let i=0; i<1e7; i++ ) a[i] = i;
takes ~50
ms on my machine.Array.from(..)
takes ( wait for it - literally :P ) ~3300
ms.For
1e3
elements, it's ~.2
ms vs. ~1
ms.How is this performance-/memory-wise compared to populating it via a
for
loop?Hi Chrono. How can I see random tests on C#? Console.Write doesnt work.
Ok, this is going to sound really dumb but I hadn't actually considered doing that xD
Thanks :)
print(arr)
seems to work fine for me (in Python). If you used javascript tryconsole.log
instead.I don't think so for seeing the data that was given to me.
Doesn't
print
work?It's quite frustrating not being able to see the actual values of the random test data. It would make debugging solutions so much easier.