Re:The Y combinator in Javascript
by 5teev on Wednesday September 07, 2011 @12:30AM
(#2968363)
I flubbed a job interview when asked how I'd implement a factorial. Of course I did the well-known recursive version, but then they asked how I could do it without recursion, and I blanked. I think they wanted me to talk about memoizing and the Y-combinator, but...I don't know, maybe they'd have settled for a naive for-loop.
[ Parent
| on HN ]
There are no comments on this comment yet.