You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the test using advance_by_offsets.py in epi_judge_python
This results in the test output:
Test FAILED ( 1/2004)
Arguments
A: [3, 3, 1, 0, 2, 0, 1]
Failure info
explanation: A valid advance sequence is: 0->1->4->6->6
expected: True
result: False
I have a solution that passes all the tests, which I'm happy to share if that is useful. Your solution does a single pass over the array. This seems awesome, however I don't see how it can work in all cases.
The text was updated successfully, but these errors were encountered:
The solution for Advancing Through an Array (5.4 page 44) as written fails the first test.
I copied the solution from the text as:
I ran the test using advance_by_offsets.py in epi_judge_python
This results in the test output:
I have a solution that passes all the tests, which I'm happy to share if that is useful. Your solution does a single pass over the array. This seems awesome, however I don't see how it can work in all cases.
The text was updated successfully, but these errors were encountered: