import java.util.ArrayList; import java.util.stream.Stream; import java.util.stream.Collectors; import java.util.Arrays; public class Solution { public ArrayList<Integer> GetLeastNumbers_Solution(int [] input, int k) { Arrays.sort(input); return Arrays.stream(input).limit(...