Tagged as challenge
Written on 2018-01-30
Write a function
merge-2 which takes two sorted lists and merges them into sorted order. This is an essential step of the merge sort algorithm.
Write a function like
merge-2 that instead takes any number of sorted sequences.
Write these functions to work on infinite streams.