When you solve the programmers algorithm problem and check it with the test case, if the code is scored, all but two will fail.
It means that the test case you wrote yourself does not include the number of all cases.
There is no way to know the test case used in grading, so try to fill out the test in all cases as much as possible.
© 2024 OneMinuteCode. All rights reserved.