Optiver Interview Question

Implement an algorithm to merge N sorted lists.