Java Lambda Expression в приоритетном
PriorityQueue<Integer> pq = new PriorityQueue<>((v1, v2) -> (v1 - v2));
Jinal_Patel
PriorityQueue<Integer> pq = new PriorityQueue<>((v1, v2) -> (v1 - v2));