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.
so just use var sum int ?
Why is the following expected:
input:
string -> "Consectetur aute in deserunt ut adipisicing ex laborum esse Lorem
size -> 20
expected:
[ 'Consectetur aute in',
'deserunt ut',
'adipisicing ex',
'laborum esse',
'Lorem' ]
instead of:
[ 'Consectetur aute in',
'deserunt ut',
'adipisicing ex',
'laborum esse Lorem' ]
No random tests
sum := 0
you can avoid this, because golang sets 0 as init value