Two solutions for merging k lists

Divide and conquer and heap