Tree-Based Algorithms for Computing K-Combinations and K-Compositions | AMiner