Technique is best for the above given scenario and why? [on hold]

Suppose you are working for a software company having a system with limited memory and you have been given a task. You are using recursive function to complete the task but you realize that you can use tail recursion instead of recursive function and then you realize that this tail recursion can be converted to loop.

Now the question is that which of the following technique is best for the above given scenario and why?

  1. Recursive Function.

  2. Tail Recursion.

  3. Loop