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.
no answer from OP
this is a separate issue though, OP claims there was a test with a different input format
This issue has been raised again here https://www.codewars.com/kata/57729a09914da60e17000329/discuss#64b0fdf456320e11e37ccb43 and after some googling I think they both are invalid, but I will try to find someone who actually lives in a place which uses 12h time and confirm.
I don't see any such test in JS/Python, should this be closed ?
Language? (I guess JS)
I think thats because of js optimization. I've also tried with .every() but I found that if I don't use an index in condition function - it is NOT called twice for [25,25], js "predicts" that if first call returned true, there no need for second check for the same value. Of course workaround with using index worked but looked ugly. So I just used .reduce() instead.
Now I guess that 'bind' is also a workaround