Skip to content

Instantly share code, notes, and snippets.

@kliarist
kliarist / EntryPoint.java
Created April 6, 2023 05:21
SortedIteratorMerge
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);