Function to calculate the number of trees with exactly k leaves .
function k_Leaves ( n , k ) { let ans = parseInt ( ( binomialCoeff ( n , k ) * binomialCoeff ( n , k - 1 ) ) / n , 10 ) ; document . write ( " " + " " + " " + ans + " " ) ; return 0 ; }