In this post, we will solve Lambda Calculus – Evaluating Expressions #1 HackerRank Solution. This problem (Lambda Calculus – Evaluating Expressions #1) is a part of HackerRank Functional Programming series.
Task
Compute the value of (λx.x+1)3
The required answer is an integer, which you may enter in the text box. Do not leave any leading or trailing spaces.
Solution – Lambda Calculus – Evaluating Expressions #1
4
Note: This problem (Lambda Calculus – Evaluating Expressions #1) is generated by HackerRank but the solution is provided by CodingBroz. This tutorial is only for Educational and Learning purpose.