How much n??
That's n=5. Why?
Why !!!????i think it is in Binomial Theorem but i don't know how!
You mean you want to know how to find n?
31 - n
= nc2 + ... + ncn
= (nc0 + ... + ncn) - nc0 - nc1
= 2n - nc0 - nc1
= 2n - 1 - n
Add n+1 on both sides and you have
32 = 2n
-> n = log2 32 = 5
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.