It dosent pass the test case 4 but when i unlocked it and testd the test case 4 on my compiler, it worked
My code passes all the test cases except one
testcase 4 shown may be different in unlocked testcase
check with every testcase
one must fail and that is testcase 4
can you tell me which one is wrong? ive checked again
have you check and all testcase give correct output??
i have to unlock the testcases
check once again all testcase
if you did not found then i will help
you have missed one thing
if k>size
then you have to do this
k = k%size;
try to do this and submit
i just checked all of the testcases, all of them are working
there is no testcase where k>size
i implemented the statement you gave me, it still dosent work
this is wrong
if head->next is null then don’t return null return head;
correct one
now all testcase will passed
check once
got it, but which test case was failing? i tried each one of them and they worked
that idk i have not unlock testcase
i just check your code
it good your all testcase passed
now i am marking your doubt as resolved
plz give feedback from the link provided in below post
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
have you rate your experience??