Simplify the nlargest() code using heappushpop().
1 file changed