Each person’s statement “someone near me has cap of height h_i” = adjacency constraint. Build a constraint graph.
Each connected component can be arranged in 2 orientations if it’s a path; fixed if it’s a cycle. Multiply possibilities across components Drift Boss.
Leave a comment: