Capital One interview question

Sort n k-lengthed linked lists