update second solution of merge-k-sorted-list