Solving Jane Street's November Puzzle

2025-12-05

The Problem

Read the full problem description here (Jane Street's website).

Jane Street puzzle statement
Figure 1: The original puzzle statement

The basic rules of the puzzle are as follows:

Let's elaborate on two of those points.

First, let's take the number 9, this means that every square around it (including itself) must be present in the final rectangle. The same applies for the number 5 (excluding itself) only 4 other squares around it can be in the final rectangle.

Second, we know one immmediate thing about the squares orthogonal to one with an arrow in it. If the arrow points only to the right (→) as an example, we know that the immediate squares upwards (↑), below (↓), and left (←) are not in the final rectangle and can rule them out. We can extrapolate this rule. If we stick with the previous example where the arrow points to the right (→), if the closest cell ends up being 3 squares away, (→ _ _ _ 6), then we know that upwards, below, and the left we must have 4 empty squares which are not in the box. We can use these rules to eliminate large parts of the grid.

They also mention that the numbers surrounded by a grey square must be orthogonal to one another, and that numbers surrounded by a grey circle must be on opposite faces of the final rectangle. These rules/clues were not helpful for me while solving the puzzle. They were only helpful when I was validating my solution.

Furthermore, there are ambiguous squares, in other words, they are not eliminated by number squares or arrow squares.

Method

Jane Street puzzle annotated
Figure 2: Original puzzle statement annotated
Grid cut out
Figure 3: The cutout grid with squares part of the final rectangle
Final folded rectangle
Figure 4: The final rectangle

Final Answer

The final solution is calculated by calculating the product of the sum of the values on each rectangle face.

4 + 5 + 7 + 4 + 4 + 7 + 9 + 3 + 5 + 5 + 4 = 57  (Yellow face)
4 + 4 + 5 + 7 + 6 + 2 = 28                      (Green face)
5 + 7 + 5 = 17                                  (Red face)
6 + 5 = 11                                      (Purple face)
7 + 4 = 11                                      (Light blue face)
5 = 5                                           (Dark blue face)
57 · 28 · 17 · 11 · 11 · 5 = 16,414,860

References