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.
The expected values are nonsensical:
59
should not appear unlessn = 60
, but it frequently appears:n = 1
should only have 1 minute hand possibility, at00
(and forn = 4
, at00, 15, 30, 45
). At no point should59
appear.But then,
findOverlapTime(10, 6)
somehow expects10:50
instead of10:59
. (10:59
has a smaller angle.)Initial code signature is wrong:
function findOverlapTime (hour) {
should befunction findOverlapTime (h, n) {