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.
good solution however to save a mod which is computationally heavy you can do np.arange(0, len(word), 2)
thanks lazy wolf
likely to be my fault but the class for the c++ solution is throwing me off, are we meant to declare it to include the expected result too? When I try and run an example script it says:
-isystem /runner/frameworks/cpp error: call to non-static member function without an object argument
testequal(Tortoise::race(v1, v2, g), expected);
~~~~~~~~~~^~~~
1 error generated.
Any help would be really great as I can program basic c++ but just struggling with the codewars interface/expectations.
This comment is hidden because it contains spoiler information about the solution