You are viewing a single comment's thread. Return to all comments →
Test case 6 has invalid input in "FLIP 2 523" and invalid test expectation.
Since n=523, allowed range of index to flip is from 0 to 522. The index of 523 to flip is invalid.
Line 1: 523 8988 .... Line 4842: FLIP 2 523
Seems like cookies are disabled on this browser, please enable them to open this website
Java BitSet
You are viewing a single comment's thread. Return to all comments →
Test case 6 has invalid input in "FLIP 2 523" and invalid test expectation.
Since n=523, allowed range of index to flip is from 0 to 522. The index of 523 to flip is invalid.