Re:How to make McDonalds french fries
by morphir on Sunday June 06, 2010 @03:08PM
(#1408928)
prove that algorithmically, thank you.
[ Parent
| on HN ]
Re:How to make McDonalds french fries
by SoftwareMaven on Sunday June 06, 2010 @03:25PM
(#1408960)
I think the point is around things like "What temperature do you fry at?", "How hot should the steam bath be?", etc. The details make all the difference.
9 ! = 362 880
vs.
(define (factorial n) (let fact ([i n] [acc 1]) (if (zero? i) acc (fact (- i 1) (* acc i)))))