Y combinator real life application: recursive memoization in ruby

21-Aug-2016 3155

When we presented the Y combinator, we said that it was very aesthetic but not so practical.Today, we are going to show a real life application of the Y combinator: the memoization of a recursive function.

Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle