Job for bounties

. He will get number of bounties equal to the length of substring he finds in return

what is the meanin of bounties here

hi so basically all u have to find is the length of longest balanced substring…
for example in (()(()()
substring ans is ()() at the end… so length is 4

if u still have any doubt u can refer this https://www.geeksforgeeks.org/length-of-the-longest-valid-substring/

do u still have any doubt???

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.