Approximation Algorithm for non-intersecting paths in a grid
问题 I recently came across this question and thought I could share it here, since I wasn't able to get it. We are given a 5*5 grid numbered from 1-25, and a set of 5 pairs of points,that are start and end points of a path on the grid. Now we need to find 5 corresponding paths for the 5 pairs of points, such that no two paths should overlap. Also note that only vertical and horizontal moves are allowed. Also the combined 5 path should cover the entire grid. For example we are given the pair of