I have given three recursion functions fun1(int ), fun2(int ), fun3(int). All three function depends on each other i.e.
fun1(m) = a * fun2(m-1) - b * fun3(m-1)
fun2(m) = c * fun1(m-1) - d * fun3(m-1)
fun3(m) = e * fun1(m-1) + f * fun2(m-1)
I have to find value for any of these function. How to do it efficiently(in terms of time complexity and non-recursion approach)?