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.
I had wanted to do an array method but apparently not available in typescript.
You don't have to go through all numbers from 0 to n. Going from 0 to i * i > n is enough. The numbers after i * i > n cannot be a square root of n. I would rather use an algorithm without a loop.