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.
First kata I've done where I felt like I was able to achieve a perfect balance between simplicity and the approach. Really enjoyed this one.
I don't get to decide the kyu difficulty -- whoever approves the first language version makes that decision and it is stuck forever-after whether you or I like it or not.
This kata is 6 years old. The overall difficulty levels increased drastically since then.
Dinglemouse, really enjoyed this one, but seemed a little too easy for 3kyu. Found a pretty straightforward solution in about an hour where I've spent a week on some of your others.
Don't be sorry. Fixed!
In C# tests, test named "ExBad5" has a useless trailing comma in the last grid row.
Sorry, but I had to point it out :)
Awesome kata. Thought this would be easier than "Blaine is a pain" because they seem similar, but it was tricky in a different way. At first I was convinced the "ambiguity" rules made no sense...then I saw it! Makes perfect sense.
It was staring me right in the face lol. So embarrassed.
so like is there an overpass at that station or what
(C#)
What am I missing about initial train positions?
The test for this track is expecting a crash at move 0:
Based on the instructions, it seems like the initial position should be:
...
Mine is a little toothy compared to the solutions using DataTable, but seems to be 2x as fast.
My bad. Thanks for the clarification.
Your solution is incorrect. The
.ThenBy(x => x.Value)
part in your solution does not conform to any requirement. The values of nodes should not be sorted, they should appear in oder of appearance on their "level".Please see how the "example 2" shows the order of nodes 8 and 4.
I don't think the C# tests are working. Partial output...
0:705
1:155
1:798
2:304
2:736
2:800
Expected and actual are both <System.Collections.Generic.List`1[System.Int32]> with 99 elements
Values differ at index [3]
Expected: 736
But was: 304
Loading more items...