Tag: Javascript
Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument.
Curyying is a transformation of function that translates a function from callable as f(a, b, c) into callable as f(a)(b)(c).
function curry(f) { return function(a) { return function(b) { return f(a,b); }; }; } function sum(a, b) {...
Memoization is an optimization technique used to speed up programs by storing the results of function calls and returning the cached result when the same inputs occur again.
Use Memoization to make your JavaScript functions more efficient — RAHUL (@rahxul) March 31, 2021
So in this post, I’m going to discuss with you What is Memoization in...