P373: Enumeration of all $k$-noded subtrees in a tree

P373: Enumeration of all $k$-noded subtrees in a tree
Input:
A tree $T$ and an integer $k$.
Output:
All $k$-noded subtrees in $T$.
Complexity:
Comment:
Reference:
[Hikita1983] (Bibtex)