I believe what he means by "dynamic" is the computer science concept of dynamic programming: http://en.wikipedia.org/wiki/Dynamic_programming
When I read your question that was the first thing to pop in my head and somebody else here has pointed it out by breaking the problem down into processing 2 arrays at a time (skipping couples already processed).
Feel free to disregard this if you already know computer science
In reply to Re^5: How to code this?
by admiral_grinder
in thread How to code this?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |