beaunus/stanford-algs

Quick Sort test cases all passed for 3 options but submission failed

Closed this issue · 1 comments

Dear Beau,
thanks a lot for this very useful repo.
I have an issue with the test cases covering the Quick Sort.
I have passed all 20 for each option, first, last and middle pivot.
But when I submit with the test list of integers, I have ok for the first one, but failed with the two last ones.
Have you already experimented a code which gives 20x3 good answers with test cases, but failed with the challenge list of integers?
Is there something wrong when I read the integers from the txt file?
Thanks
Best regards
Jerome

Found my problem.
I forgot to reinit the list of ints between each run ....
Sorry.