Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Check which of the two elements is smaller */
- private boolean less(int a, int b) {
- return pq[a].compareTo(pq[b]) < 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement