সব বই

পেশাদার

1 Markets I: The Ecosystem and Exchange-Traded Marketsবাজার অনলাইন 2 Markets II: Rates, FX and Creditবাজার অনলাইন 3 Markets III: Commodities, Energy and Cryptoবাজার অনলাইন 4 Quantitative Methodsপদ্ধতি অনলাইন 5 Derivatives and Volatilityডেরিভেটিভস অনলাইন 6 Rates, Credit, XVA and Riskসুদহার, ঋণ ও ঝুঁকি অনলাইন 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosগবেষণা অনলাইন 8 Strategies I: Equities and Futuresকৌশল অনলাইন 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksকৌশল অনলাইন 10 Microstructure and Executionএক্সিকিউশন অনলাইন 11 Market Making and High-Frequency Tradingমার্কেট মেকিং অনলাইন 12 Machine Learning for Marketsমেশিন লার্নিং অনলাইন 13 Low-Latency Softwareপ্রযুক্তি অনলাইন 14 Networks, Hardware and Trading Infrastructureপ্রযুক্তি অনলাইন 15 Research, Data and Risk Platformsপ্রযুক্তি অনলাইন 16 The Desk and the Firmপ্রতিষ্ঠান অনলাইন 17 The Industry: Firms, Roles and Careersক্যারিয়ার অনলাইন 18 Interviews I: Maths, Probability and Speedক্যারিয়ার অনলাইন 19 Interviews II: Markets, Trading Games and the Final Roundক্যারিয়ার অনলাইন 20 Interviews III: Codeক্যারিয়ার অনলাইন
অ্যাপ পরিচিতি Coach সাইন ইন পড়া শুরু করো

বইগুলো এখনো বাংলা ভাষায় পাওয়া যায় না — ইংরেজি সংস্করণ দেখানো হচ্ছে।

Computer Science · পরিভাষা

Memoisation কী?

Definition 28.2 High School Computer Science · অধ্যায় 28 — Dynamic Programming

Memoisation is the recording of a function’s results in a table, usually a dictionary from arguments to results: the function looks the arguments up before computing, and stores the result before returning.

The 9 calls of the memoised fib(5), against 15 for the naive one. The first call on each value computes it, going down the left side; every later call on it finds it in the dictionary and returns at once, so the tree has no repeated subtree.
The 99 calls of the memoised fib(5), against 1515 for the naive one. The first call on each value computes it, going down the left side; every later call on it finds it in the dictionary and returns at once, so the tree has no repeated subtree.
Calls made by the two versions of fib(n), from figures/calls.py, with a scale that multiplies by 10 at each mark. The naive count is multiplied by about 1.6 at each step and passes 29 million at n = 35; the memoised count is 2n - 1, 69 at n = 35.
Calls made by the two versions of fib(n), from figures/calls.py, with a scale that multiplies by 1010 at each mark. The naive count is multiplied by about 1.61.6 at each step and passes 2929 million at n=35n = 35; the memoised count is 2n−12n - 1, 6969 at n=35n = 35.
প্রসঙ্গসহ পড়ো →