3 ms·You compute S(1, M-1) and S(M, N) instead and compose them. That's it. This is not complicated stuff.by newen 7y agoYou compute S(1, M-1) and S(M, N) instead and compose them. That's it. This is not complicated stuff.