code link - https://ide.codingblocks.com/s/73551
this code that i wrote is only aacepted for n=4, how it passes all the test cases. i think my code is wrong
Pattern mountain- r
Hi
There must be some problem at the backend that is why your code is getting submitted for all cases.
But your code only works correctly for n = 4. Modify it accordingly.
The problem at the backend will be rectified.
Hi
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.