Intersection point of two linked lists


here is my approach, I am getting TLE someone please help ,what is the problem in the code??


someone please help, I am getting following error
runguard: warning: timelimit exceeded (wall time): aborting command
runguard: warning: command terminated with signal 15
Please correct my code,if there is any mistake