userimage

What is recursion tail in scala language?

What is recursion tail in scala language?
userimage

Recursion is a function that calls itself. A function that calls itself, for example, a function 'function1' calls function 'function2', which calls the function 'function3'.  It is a technique used frequently in functional programming.  In order for a tail recursive, the call back to the function must be the last function to be performed.

Answer is