Microscope goes col-by-col, then row-by-row.
So we have less horizontal drifts than vertical ones.
So we can use greedy on horizontal and DP on vertical.
So we have less horizontal drifts than vertical ones.
So we can use greedy on horizontal and DP on vertical.

No comments:
Post a Comment