sagivo / combinations-of-well-formed-brackets Goto Github PK
View Code? Open in Web Editor NEWWrite a function Brackets(int n) that prints all combinations of well-formed brackets. For Brackets(3) the output would be ((())) (()()) (())() ()(()) ()()()