Given the following max expression, what does it mean?
$\max_{j=1\ldots n} \left(\sum_{k=1}^{j} A_{\pi(k)} + \sum_{k=j}^{n} B_{\pi(k)}\right).$
Here
$\sum_{k=1}^{j} A_{\pi(k)}$
and
$\sum_{k=j}^{n} B_{\pi(k)}$
are both integers.
What is the meaning of max(A+B)? Why would you do a max over a single term?
A max of multiple terms makes sense but why do it over a single term?