An extension of Combination Sum. The point is when and how to prun.
A basic DFS tree problem.
Description
Many tree questions can be addressed using recursive (helper) functions. To keep the…