Sir, i have written my code in O(n) time complexity and i have also taken the correct data types for it but still test case 3 failed. All the test cases has been passed successfully except test case 3. Can you please point out my mistake.
Test case 3 failed in Unlock challenge
yes sir, my code is on the cb ide and i have switched on the collaborate mode
sir can i send my code to your email id
no ,now i can see ur code
check now-
yes sir, it is working now. Test case 3 is successful now. Thank you sir
But, can you please tell what was there in test case - 3. I mean what input was there
dont know.
probably it might be something like ->
n=5 ,k=5
5 4 3 2 1
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.