Linked list k append test case 3 wrong

https://hack.codingblocks.com/contests/c/511/316
https://ide.codingblocks.com/s/52098