Please check my code for Prata Spoj
your approach is correct
but there is some corner case which is not passing because of your
isconfigure function it is not robust
i have just modified your isconfigure function and it got AC
Modified Code
if you want to ask something about this feel free to ask
i hope this helps
if yes show your response with
and don’t forgot to mark doubt as resolved
1 Like