can you please tell why are we doing rem-1 if cont==1 in a function call bcoz cont==1 means we want to continue then why will we reduce the rem value and at the same time no doing rem-1 when cont==0 bcoz that would mean that we want to terminate this subsequence now??
yes i am talking about the alyona and strings problem code written by saiyam bhaiya