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.
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.Hi Chrono. How can I see random tests on C#? Console.Write doesnt work.
print(arr)
seems to work fine for me (in Python). If you used javascript tryconsole.log
instead.Doesn't
print
work?