So I wrote some recursive code for printing balanced brackets when number of bracket pairs (noOfPairs) are given as the input. But my answers are wrong.
For example: On i