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
to convert a string into a number
Loading collection data...
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
to convert a string into a number