TLE (linked list merge)

code is working fine but judge system is showing TLE and is only passing one case.
code link : https://ide.codingblocks.com/s/196236

@arc_reactor
hello yash,
please check ur make_list function,
it will fail to create list when n will be zero.

I made change in make_list for n==0 still getting TLE

@arc_reactor
pls send me ur updated code