My test case 0 is failing.
1 Count Problem
So should i add this condition: if k==0?
yeah handle such cases separately
One of the test cases is still failing. Please check the code
u havent handled k=0 case correclty.
i have made the changes .
check here->
Thankyou so much for the help