and so on, but it doesn’t make sense to me. I think i understand the minj=1…n(K[i - kj] part the wrong way.
What I need exactly to understand is, what the algorithm is doing every step and how the solution Array look like.
For a little hint, i would be very thanksfull!
Hi Frida, I’d like to be able to help you to solve your problem, but not for what is the algorithm that you portray, it would be useful something of prior information, i think you are missing some points and commas at the end of the assignments, you should do something like this.:
After trying to understand your description of how it should be the recursion, i have come to believe that what you need is something like the following