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.
Oh. My mistake. Apologies for inconvenience.
I didn't say sample test. All test case passed when i attempted.
Time: 10719ms Passed: 6 Failed: 0 Exit Code: 1
SquaresPerimeterSuite
Fixed Tests perimeter(5) should return correct answer
Fixed Tests perimeter(7) should return correct answer
Fixed Tests perimeter(20) should return correct answer
Fixed Tests perimeter(30) should return correct answer
Fixed Tests perimeter(100) should return correct answer
Fixed Tests perimeter(500) should return correct answer
It didn't say algorithm is slow. So issue is not resolved yet.
not an issue. The sample tests are just what they are called for: sample. Meaning your algorithm is to slow too pass the full test suite. You'll have to find something more efficient.
cheers
This comment is hidden because it contains spoiler information about the solution
to convert a string into a number
what is this +m does in the code?