https://docs.python.org/3/library/math.html#math.comb
This is a nice convenient function for solving n choose k problems, without having to build from scratch. Does anyone know the time complexity of this specific method? Is it O(n choose k) as described in this question?
What's time complexity of this algorithm for finding all combinations?
Is there any optimization involved in the implementation of math.comb() that reduces the time complexity to less than O(n choose k)?
