Memoization Pattern Caching expensive computation results to avoid recalculating with identical inputs.