# Where's the path?

A person was shading several unit squares in a square grid, to create a path from the bottom left corner to the top right corner. The path stepped from each square to the next either horizontally or vertically to create the path, but not diagonally.

For each row and column in that grid, the person wrote the number of shaded squares it contained on the edge of the grid. Here is an example:

Then, he drew another path but it but some parts were erased out. Here is the remainder of his path:

Your job is to find out the remainder of the path with an explanation.

• Did you create this yourself? Jul 25, 2021 at 5:07
• A friend gave it to me Jul 25, 2021 at 6:21
• This type of puzzle is commonly called "Tracks", with the path being displayed as railroad tracks. Jul 25, 2021 at 12:21

Solution:

Progress:

(The key breakthroughs are the rows with number 1.)

• How did you eliminate other possible path with 1s (top one on the right, bottom on the left)? Because top rows are both 5, making this obviously impossible? Jul 26, 2021 at 11:51
• @ZizyArcher Yeah that's right. That's exactly what I thought. Jul 26, 2021 at 16:10