is there any difference between this two very similar solutions?
This comment is hidden because it contains spoiler information about the solution
Use spoiler flag next time.
Oh, if I were more attentive, it would save me a lot of time:)
Read the Note in the description, such test case is not allowed:
Note: Don't be afraid that the minimum or the maximum element in the list is missing, e.g. [4, 6, 3, 5, 2] is missing 1 or 7, but this case is excluded from the kata.
Incorrect result for find([4, 6, 3, 5, 2]). Expected 1 or 7, but actual result is 4
0 tests are provided for user + small amount of tests for submit.
Loading collection data...
is there any difference between this two very similar solutions?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Oh, if I were more attentive, it would save me a lot of time:)
Read the Note in the description, such test case is not allowed:
Incorrect result for find([4, 6, 3, 5, 2]). Expected 1 or 7, but actual result is 4
0 tests are provided for user + small amount of tests for submit.