Linked List K reverse - some test cases failing

I have edited your code… Try to submit it now…