这个算法使用了组合数学的方法来计算所有可能的排列。
The algorithm uses a ___combinatorial method to calculate all possible permutations.
解这道数学题需要组合思维来考虑所有可能的解法。
Solving this math problem requires ___combinatorial thinking to consider all possible solutions.