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.
to be most precise: total number of mating BEARS. (not pairs.)
This comment is hidden because it contains spoiler information about the solution
as i understood, s can be empy if both part1 and part2 are empty
I have same problem, even i write something like this and it does not work, if return true or false
I have passed 65 out of 66 in Python. The only test not working is the one where "s" is empty. What should my code return? (It returns False and is not accepted.)
...and one more thing: the issue with the cropping disappears once you do not modify the original array.
(I had the same problem, and found this answer much more down here, I thought I repeat it so that others do not have to dig so deep.)
I think it would be nice if the problem description mentioned that the program shouldn't modify the original array...