An algorithm to print all valid comb. of n pairs of paren.