Generate Parentheses

No output on submission…plzz check!!

hi prashant
when u have to do backtrack in string just take the character array not string
because in string u have to erase the current one
but in char array it is automatically manage by index
just check this

got it…thanxx for help:)