soulmachine / leetcode

LeetCode题解,151道题完整版。
BSD 3-Clause "New" or "Revised" License
11.27k stars 3.43k forks source link

change a typo of C(m+n-2, m-1) #62

Closed theoneisneo closed 8 years ago

soulmachine commented 8 years ago

组合数里,下边是大的数,上面是小的数,参考 组合数

theoneisneo commented 8 years ago

I found that two written formats are both fine. reference : https://en.wikipedia.org/wiki/Combination In Taiwan and USA text books use C(n, m) with n >=m, n, m belong to N. So I though it was a typo few months ago. Thank you for your reply.