I'm wondering what's the time complexity of finding all size-$k$ combinations from a set of size $n$(note that $k$ is a known and fixed constant, say $k=3$)? How does it differ from the time complexity of finding all combinations of all sizes (involving ${n\choose 1}+{n\choose 2}+...{n\choose n} $ operations)? I need to add a remark on this in a project of mine, but I have zero training or background in computer science.
My guess is that the time complexity of the former is $O({n\choose k})$ and that the time complexity of the latter is $O({n\choose 1}+{n\choose 2}+...{n\choose n})$. Is this correct?
It would be great if you could add some intuition in your explanation. Thanks!