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.
You did not check whether
x
is also an integer. Also, what is the deciding factor in choosingn / 4
as the upper boundary?What happen if you set 1 million values in your array?, The for loop make 1 million loops that is a problem for Ram memory
Not an issue. Don't segfault.