An entry in Fortnightly Topic Challenge #35: Restricted Title 1. Inspired by the title of this xkcd comic.
Snakes ... on a plane ... again ...
This time 2 specimens of a huge unknown type of snakes swallowed a part of the passengers on a plane. Luckily the plane was able to land and all victims were rescued.
Unfortunately the rescue got a bit messy, and now you have to reconstruct the exact position of the 2 snakes at the moment of the landing for the FAA, based on witness statements.
- The markings inside the plane show the ends of both snakes (one red and one yellow).
- The numbers on the sides show the number of squares in a row or column occupied by the corresponding snake.
You have also some additional information about the snake behavior from a local expert:
- All parts of a snake must be connected vertically or horizontally.
- Snakes don't branch.
- A snake doesn't cross or touch itself or the other snake (not even diagonally).
Disclaimer: No snakes were harmed during the creation of this puzzle. Both specimen are securely stowed away on a train to their new home.