Sanjeev GhoshHow to get top N items in JavaThis article also covers how to write an efficient and yet genric comparator in Java.5 min read·Apr 28, 2022----