Hi all,
I am trying to upsolve this problem. https://codeforces.me/contest/1699/problem/E
Can someone please help me understand the first two paragraphs of the editorial ?
How to build the DP solution that is mentioned in the paragraph-2 ?
How to do it in O ( vmax * log vmax * log vmax ) ?
Thanks in advance.