This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static java.util.Comparator.comparingInt; | |
import java.util.Collection; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.stream.Stream; | |
public class EntryPoint { | |
public static void main(String[] args) { | |
List<Integer> l1 = List.of(6, 8, 19, 21, 32, 66, 67, 77, 89); |