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.
Python: Random tests are vulnerable to input modification
python new test framework is required. updated in this fork
Current state of C++ initial solution setup compiles correctly, closing!
OP solved it, closing
And you're starting with $arr[0], so in your loop you can skip first element by starting to count from $i = 1.
You don't have to check for equality here. Just checking if current number is less than min is enough.
Actual and expected are flipped in PHP
your code works for only one set of routes(
Really? my solution is O(n^2) and passed in less than 1 second.
This comment is hidden because it contains spoiler information about the solution
fixed!
Ruby 3.0 should be enabled.
In C++ std:: is missing in the initial code before vector (the first line of the function should be std::string diagonal(std::vector<std::vector> matrix){) (or using namespace std; should be added before).
that's not even a kata (no tests) => unpublished.
If you're interested at authoring, see there
Duplicate.
Loading more items...