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.
This comment is hidden because it contains spoiler information about the solution
Yes, this is much clearer. Although these might be slightly better:
or
Thanks for the response!
This is pretty minor, but the method name in the description doesn't match the method defintion in the default solution window. That is, the kata description should be:
or the starting solution code should be:
Other than that (and the typo 'sulution' brought up earlier), nice kata!
I'm having some issues with the Ruby submission. For all the comma tests, I get a failed test with the error message being
or
and so on for all the comma test cases. I can't see there being anything wrong with the kata test cases with the number of submissions already accepted. Does anyone have any idea as to why the tests are failing with the strings seemingly identical?
Yeah, I talked about it a little in my other comment. It's probably the part of the kata I'm most unsure about, I know it's unneeded, but I thought it would help people to learn what they needed for graph searches if they hadn't done anything like it before. I dunno, what do you think?
Doesn't this contradict the last test case given? I was expecting to only have to raise an exception if there was no valid keys in the args, not if any single one of the args was an invalid key.
Thanks for checking out my kata! It's my first attempt and any feedback would be much welcomed.
I was initially going to have the method return the path to the station, but I found that it didn't really add a meaningful amount of difficulty to the problem and made the description harder to understand. The 'stations' arg isn't actually required either, but I left it in because I wanted the people who might not have done graph searches to think about what they needed to use to complete the task.
I'm probably going to follow up this kata with a few more basic graph search based problems, move on into shortest path and then maybe into some max-flow katas. Keep an eye out for them!