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.
Alright. Thank you for approving.
I fixed the discrepancies mentioned in the translation. If you approve of it, you can navigate to it and hit "approve" to merge it with your kata.
Just a question — do you speak with GPT? No judgment, but I have never seen that before.
Looks better to me!
Here's a Lua translation for you.
Under
testLettersOutsideValidRange()
, you state that"12345678Z"
should returnfalse
in the error message, but assert that is true (of which is the correct assertion). Slight discrepancy, nothing severe.500 valid and invalid random tests is overkill. 40 each should suffice, but even that is pushing it a little. Again, not severe.
Besides that, all of your fixed tests are for false assertions. I would reccommend adding some fixed tests that expect
true
to be returned.Here's a Lua translation.
To be fair, I did write the Road class, so of course I know how it works. I imagine that figuring out what it does and how you can use it raises this kata to a 6kyu. I think that it is a fair rating :)
Here's a Lua translation.
Nice kata!
Here is a Java translation.
Nice kata!
Thanks. As it would have it, I learned lua scripting before I studied Java in high school. (I made Roblox games for fun as a kid)
I misread what you meant by "2 spaces". I thought you meant before the brackets :P
I have 0 experience in Python (my high school teaches Python, but since I'm competing for their computer science team I study strictly Java of which is the language used in the competition) so I'm just going to trust your translation and probably have my classmates and teacher run tests on it. I'll let you know if we find anything.
I looked at the diff and I think it looks good.
Thank you for the translation!
I appreciate your feedback.
I include and mention private L and private R to let the solver know that they exist, but that to actually do anything with them they would have to use the public methods provided. It also helps them to understand that the next roads are indeed Road objects and that a Road could be thought of as a sort of Node. I feel that if I had not mentioned them, the kata would be needlessly more confusing, especially to 7kyu programmers (the target demographic of this kata). If I am to make a kata about using limited resources, I must of course give the solver adequate information about those resources.
Though, I am not sure what you mean when you say that they are "not conceptually the same type."
About the getters, ... I simply forgot how inheritance worked. I thought I would need them to access information about a Road when calling from other Roads, but that does not seem to be the case. Thank you for enlightening me.
About that space issue, I will of course fix it.
Thanks big mike.
Frankly, I've no idea. Some of my friends have been unable to do it but I still believe its a 7.
Fixed.
Loading more items...