92
xkcd #3125: Snake-in-the-Box Problem
(imgs.xkcd.com)
A community for a webcomic of romance, sarcasm, math, and language.
Unless your snake is an ouroboros, I don't think folks will count the head and tail as consecutive
The head and tail aren't adjacent if you only look at my blue line and not the original. But my attempt fails due to the far left edge.