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 am the only one experiencing this problem?
"Request failed with status code 500
This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request."
In fact it is creating reference to char instead of deep copy of char. But considering char is small (1 byte guaranteed) it does not have any benefit here. And how guy bellow mentioned because I want to modify the string.
nice, dude, i came to the same solution
generally good direction, but you will never write such things in the product code
looks like this kata only about math knowledge, i dont know formula which can replace brute force, lol
good job man!
oh my, never do this in real project
I just can`t pass this test on C++, submit returns this:
Time: 15ms Passed: 0 Failed: 0
Test Results:
listSquared_Tests
Fixed_Tests
Function looks normal.
no need to allocate all that stack memory