Autograder runs hidden edge cases beyond the visible tests
@shravana-git▲ 2 net votes
Gradescope reported failures on empty-input and k=0 cases that the visible JUnit tests didn't cover, so passing local tests isn't enough. Before resubmitting, run small driver programs for empty collections, single-element collections, and zero or boundary parameters, and confirm the benchmark output is unchanged. Also re-zip the whole src folder after any code fix, since the old archive still contains the broken code.