New answers tagged


It's entirely possible that you are using a small test data set that produces success, but doesn't have scenarios where your code would fail. The lesson here is to develop test data that fully exercises code, including all the corner cases. Frankly, I don't understand the logic behind that code at all. It compares the number of votes to the index of the ...

Top 50 recent answers are included