Merge Sorted Linked Lists

Getting TLE what is the problem??

since they are already sorted, u do not need to mergesort
only use the merge function
mergesort will take nlogn and only merge function will take n, that will solve ur problem