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.
that does not seem to be reproducible with the code as you posted it. it passes the tests, and a static analyzer did not detect any UB
This comment is hidden because it contains spoiler information about the solution
your code does not work for an empty vector; it crashes. this is not a kata issue
The description tells you, with big bold red letters, to not modify
numbers
. The test message tells you that you modifiednumbers
. You must not modify the listnumbers
.Your solution does not conform to requirements, it's not a kata issue.
python version isn't working:
Log
[273, 388, 134, 185, 229, 379, 70, 364]
You've mutated input list (expectation assertion is on value of input list, not output of method): [273, 388, 134, 185, 229, 379, 364] should equal [273, 388, 134, 185, 229, 379, 70, 364]
wao
<3 <3