This is a good kata, I had to try several approaches before I got it to complete within the allotted time. It exposes that I should pay more attention to efficiency than I normally do. Thanks!
The expected/received values on test failures seem to be reversed. I noticed it on Name and LastLogon tests for sure.
I did not know you could slice with a negative index to offset from the end, but now I do, thanks!
That was... more complicated than I anticipated :)
Excellent kata, I don't think I've ever even considered overriding the valueOf method before.
Argh, I should have thought of that!
Good kata, it plays nicely and builds upon the solutions to the "Name Your Space" kata: http://www.codewars.com/kata/514b6c44a337752e67000077
Loading collection data...
This is a good kata, I had to try several approaches before I got it to complete within the allotted time. It exposes that I should pay more attention to efficiency than I normally do. Thanks!
The expected/received values on test failures seem to be reversed. I noticed it on Name and LastLogon tests for sure.
I did not know you could slice with a negative index to offset from the end, but now I do, thanks!
That was... more complicated than I anticipated :)
Excellent kata, I don't think I've ever even considered overriding the valueOf method before.
Argh, I should have thought of that!
Good kata, it plays nicely and builds upon the solutions to the "Name Your Space" kata:
http://www.codewars.com/kata/514b6c44a337752e67000077