You are correct. If you're clever about how you find the next element to merge (use a heap consisting of the next element from each of the lists you're merging), then it's O(n log k) as you state. If you're less clever and scan the next element of each list to find the next element to merge, then it's O(n k).
John
|