My code is giving a run error and only one testcase is passing.
Could someone point out the error in my code
Link for problem:https://hack.codingblocks.com/app/contests/2087/1054/problem
My code : https://ide.codingblocks.com/s/417670
My code is giving a run error and only one testcase is passing.
Could someone point out the error in my code
Link for problem:https://hack.codingblocks.com/app/contests/2087/1054/problem
My code : https://ide.codingblocks.com/s/417670
hello @arunimakhanna11
here it should be s.size()
also in the given problem , u are given circular array so u need to modify ur current approach
okay, thank you so much!
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.