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.
For your setup:
Unless you are authoring in C there is no need to pass parameters
M
andN
since they are implicitly given as the lenghts of the vectors/edges lists.Instead of
S
andT
you could name these parametersstart_index
andtarget_index
.what kind of book should I read to think of good solution by myself?
"1770277824944 should equal 0"
Expected and actual values are reversed.
This kata has performance requirements but the input range is not mentioned.
This comment is hidden because it contains spoiler information about the solution
Tests are broken:
Please fix your description markup and formatting. This is unreadable.
Maybe get help on Discord for some
Math
MarkDown too.Welp, this shouldn't pass.