Jump to content

Evaluate binomial coefficients: Difference between revisions

m
→‎Functional: ok, doesn't need to be a sub-heading. just rewrote with small description, 'alternate version'
(→‎Rust - Functional: oops, need to take out the extra word Rust to match everyone else)
m (→‎Functional: ok, doesn't need to be a sub-heading. just rewrote with small description, 'alternate version')
Line 2,126:
<pre>10</pre>
 
Alternative version, using functional style:
===Functional===
 
<lang rust>fn choose(n:u64,k:u64)->u64 {
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.