Closed flacial closed 2 years ago
A student submitted a solution that skips the first element, and it had passed all the tests.
solution([1, 2, 3], 3) returns false because the implementation only iterator through [2, 3].
solution([1, 2, 3], 3)
false
[2, 3]
A student submitted a solution that skips the first element, and it had passed all the tests.
solution([1, 2, 3], 3)
returnsfalse
because the implementation only iterator through[2, 3]
.