Closed JMMackenzie closed 2 years ago
The results heap will pop elements out in reverse order; we need to reverse the results vector to get the top-k correctly.
The results heap will pop elements out in reverse order; we need to reverse the results vector to get the top-k correctly.