Indeed! There are some 5kyu katas that I am still struggling with after many hours of effort and this one was like a 5min warmup session. IMHO, subjectivity and persistence of the scale of difficulty is really very hard to normalize since it mostly lies on the eye of the beholder.
thanks for the feedback.
I added random test for positive cases, and added the fringe cases you mentioned.
Tested /00$/ against the new testing set and it doesnt pass.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Can't touch me, i'm behind seven methods.
Author solution is bugged. Now I've replaced it with a working solution.
This comment is hidden because it contains spoiler information about the solution
Yes, saw it;-)... Really good:-)! Today there's generally no sense in making code as short as possible, but i (sometimes;-)) like such tasks;-)...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
you should drink some vodka and then you will see the beauty of my solution xDD
Just so you know, I've written this kata way vefore the levels (kyu) were added :) I don't know who set this!
Indeed! There are some 5kyu katas that I am still struggling with after many hours of effort and this one was like a 5min warmup session. IMHO, subjectivity and persistence of the scale of difficulty is really very hard to normalize since it mostly lies on the eye of the beholder.
thanks for the feedback.
I added random test for positive cases, and added the fringe cases you mentioned.
Tested /00$/ against the new testing set and it doesnt pass.
This comment is hidden because it contains spoiler information about the solution
thanks for doing the kata. I added some more testing. If you have ideas please tell me
Loading more items...