Closed Trott closed 12 years ago
If you send it an empty array, it will never exit because the condition is incorrect in the for loop. It should be >=0, not <=0.
If you send it an empty array, it will never exit because the condition is incorrect in the for loop. It should be >=0, not <=0.