Skip to content

Instantly share code, notes, and snippets.

View Divyendra's full-sized avatar

Divyendra Divyendra

View GitHub Profile
@Divyendra
Divyendra / TestSortedListStreams.java
Last active September 8, 2015 07:36 — forked from netdance/TestSortedListStreams.java
Various Java methods to create one sorted list from two sorted lists
package testsortedliststreams;
import java.util.*;
import java.util.stream.*;
/*
Sample output on late-2013 MacBook Pro:
Starting Naive List Sort, via Collections
Total number of sorted values: 40000000