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.
lmao
such a better way to do it than I did haha
function rocks(int $n): int {
$result = 0;
for ($i=1;$i<$n+1;$i++)
{
$result += strlen($i);
}
return $result;
}
works but times out lol
I don't get how this solution actually functions logically can you please explain
am i the only person that didnt even understand the way the question was written? seriously this site is a joke the problems are worded so dumb