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 new test frameworks to be used.
This famous problem is NPC. Please provide constraints.
This comment is hidden because it contains spoiler information about the solution
Python: please add a note that the input argument
array
should not be modified. Even better, either allow modifications (by computing the expected answer before callingfind_a
) or add tests which verify thatarray
is not modified.Please don't run a thousand random tests. My browser chokes on rendering that for irritatingly long. A hundred should be enough.
Do not rely on random tests for edge cases. If you need edge case coverage, use fixed tests.
Javascript translation kumited.
Review and approve.