solving
$$\sum _{m=0}^{k-1} mC_{k-1}^m C_{N-k}^m$$
the solution seems to be
$$\frac {\left( N-2\right) !} {\left( k-2\right) !\left( N-k-1\right) !}$$
according to some clue from the other problem.
struggle with this the whole afternoon, please help.
i tried to extend it, but it's too complicated. i think there should be some smart trick to apply on it to make it easier.
i remember i saw this problem long time ago, but i forgot the solution.
UPDATE: the original suspected solution is wrong. now it's corrected.
Suppose we seek to evaluate $$\sum_{m=0}^{k-1} m {k-1\choose m} {N-k\choose m}.$$
Start from $${N-k\choose m} = \frac{1}{2\pi i} \int_{|z|=\epsilon} \frac{1}{z^{m+1}} (1+z)^{N-k} \; dz.$$
This gives the following integral for the sum $$\frac{1}{2\pi i} \int_{|z|=\epsilon} \sum_{m=0}^{k-1} m {k-1\choose m} \frac{1}{z^{m+1}} (1+z)^{N-k} \; dz \\ = \frac{1}{2\pi i} \int_{|z|=\epsilon} \frac{(1+z)^{N-k}}{z} \sum_{m=0}^{k-1} m {k-1\choose m} \frac{1}{z^m} \; dz.$$
Now recall that $$x ((1+x)^n)' = \sum_{q=0}^n q {n\choose q} x^q$$ and $$x ((1+x)^n)' = n x (1+x)^{n-1}$$ so that the sum in the integral simplifies to $$\frac{k-1}{2\pi i} \int_{|z|=\epsilon} \frac{(1+z)^{N-k}}{z} \frac{1}{z}\left(1 + \frac{1}{z}\right)^{k-2} \; dz. \\ = \frac{k-1}{2\pi i} \int_{|z|=\epsilon} \frac{(1+z)^{N-k}}{z} \frac{1}{z}\frac{(1+z)^{k-2}}{z^{k-2}} \; dz \\ = \frac{k-1}{2\pi i} \int_{|z|=\epsilon} \frac{(1+z)^{N-2}}{z^k} \; dz.$$
The last integral may be evaluated by inspection and gives $$(k-1) {N-2\choose k-1} = \frac{(N-2)!}{(k-2)!(N-k-1)!}.$$
A trace as to when this method appeared on MSE and by whom starts at this MSE link.