Ll k reverse problem

sir why its giving test case 4 fail