I'm confused by this test:
I'm confused by this test:
Fail:'' (
Test Fail:
Input:
[[1, 0, 0, 1, 1],
[0, 0, 0, 1, 1],
[0, 0, 0, 0, 0],
[0, 1, 0, 0, 0],
[1, 1, 0, 1, 0]]
return
[3, 5]
instead
[3, 3]
)
I don't see any way to connect the stations by length = 3. Is it a mistake in the test?
Thanks!