import java.util.*; public class Solution { public ArrayList GetLeastNumbers_Solution(int [] input, int k) { ArrayList res = new ArrayList<>(); PriorityQueue pq = new PriorityQueue<>(); for (int i = 0; i < input.length; i++) { pq.offer(input[i]); } for (int i = 0; i < k; i++) { res...