We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
It's a typical case of DP. f[i,j] = min(f[i-1,j],j[j-1,i])
Yes accept!