the code is not getting compiled
Stoll function is giving error
hello @jha.aparna17 i have corrected and commented your code .
please understand the difference and if you are not able to understand anything please ask here .
we will discuss .
Happy Learning !!
i didn’t understand why did we pass j,i in substr() instead of i,j and i,j in visisted function. pls explain
also the code passed the last 3 cases only
hello @jha.aparna17 i have made all the changes now and now it will test cases .
j is the loop which is handling the starting point of the string .
that is why we are passing j,i.
if you feel your doubt is cleared please mark this doubt as resolved.
i hope i have cleared your doubt.
Happy Learning !!