โ† Directi questions

Expected fuel to move grid bricks to boundary wall

Filed under Directi

The question

Given an N x N grid with bricks and empty spaces where bricks must be moved to form a boundary wall with |i-x| + |j-y| fuel used per move, calculate the expected value of total fuel required assuming equal probability of moving each brick to any boundary position.

No write-up yet. Related questions below have one.

Related Directi questions

Collected from public candidate posts and coding forums. Updated Nov 2026.