give a test case where this logic fails-
make a string of length n as ()()…() -total n chars
then if query is x,y it assigns String[x]=’(’ String[y]=’)’
give a test case where this logic fails-
make a string of length n as ()()…() -total n chars
then if query is x,y it assigns String[x]=’(’ String[y]=’)’
leave it…i got it