i cannot figure out why my code gives no output
Can you comment out the errors?
Also in this question we have to print it in the increasing order, so does that mean in the base case we have to sort the output array and pass a comparator which checks the condition opening bracket>closing bracket??