News

I would maintain a "prefix" at each level of recursion. For each element selected in subsequent levels of the recursion, create a new "prefix" with the selected element appended to the one passed ...