It seems like an issue but nobody is talking about it that so I think that's a misunderstanding. Random test [(61, 438), (359, 424), (405, 453), (393, 399)]. My program has counted it as [[61, 438], [405, 453]] but got wrong (425 should equal 392) How is it 392?!
False
Man you for real? You have NxM iterations of linear operation "in"
just changed 1 if to while and done it, ty;)
oh true
Those two intervals overlap, and form a single interval:
[61, 453]
with a length of 392.It seems like an issue but nobody is talking about it that so I think that's a misunderstanding. Random test [(61, 438), (359, 424), (405, 453), (393, 399)]. My program has counted it as [[61, 438], [405, 453]] but got wrong (425 should equal 392) How is it 392?!
Im at 129... did you get it tho?
This comment is hidden because it contains spoiler information about the solution
ty! appreciate your help
Please read the posts already here, it's been asked and answered many times.
And more
The last two columns are wrong, False is the right answer. Not a kata issue.
4th test in python seems to be valid but asserts False
I've passed every other test (including random) except this
[1, 3, 2, 5, 7, 9, 4, 6, 8]
[4, 9, 8, 2, 6, 1, 3, 7, 5]
[7, 5, 6, 3, 8, 4, 2, 1, 9]
[6, 4, 3, 1, 5, 8, 7, 9, 2]
[5, 2, 1, 7, 9, 3, 8, 4, 6]
[9, 8, 7, 4, 2, 6, 5, 3, 1]
[2, 1, 4, 9, 3, 5, 6, 8, 7]
[3, 6, 5, 8, 1, 7, 9, 2, 4]
[8, 7, 9, 6, 4, 2, 1, 3, 5]