Linked List K-Append : Only two test case passed

Don’t know …why only two test cases passed … why not all the five passed …if any mistake tell me… down below my code…
My code is showing run error… what is meant by it.

Tried to implement special case but fails (wrong answer to all)