Monotone Cable Routes Across a Data Center Floor With a Blocked Tile
Last updated: November 29, 2026
Quick Overview
Cables on a Meta data center floor grid can only run east or north, from the southwest corner tile (0, 0) to the northeast corner (4, 4). Count the routes, then count the routes that avoid a blocked tile at (2, 2).
Meta
November 29, 20260
0
0 solved
Cables on a Meta data center floor grid can only run east or north, from the southwest corner tile (0, 0) to the northeast corner (4, 4). Count the routes, then count the routes that avoid a blocked tile at (2, 2).
This lattice path question is a common warm-up that bridges combinatorics and dynamic programming. The interviewer checks that you see paths as arrangements of moves, can subtract paths through a forbidden point, and can verify with a small grid table.
What the Interviewer Expects
- Models each route as a sequence of 4 east and 4 north moves
- Computes C(8,4) = 70
- Counts paths through the blocked tile by multiplying segments
- Subtracts to get 34
- Cross checks with a DP grid
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How do you handle two blocked tiles that can both lie on one path?
- Write the DP for an arbitrary grid with obstacles.
- How many routes pass through at least one of (1, 3) and (3, 1)?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Each move is one tile east (E) or north (N). Going from to needs exactly 4 E and 4 N moves, 8 moves in total. A route is invalid if it ever lands on ....
Approach
A route is determined by which 4 of the 8 positions are E moves. For the blocked tile, the routes through it are (routes to it) times (routes from it). Subtract....