fn condense(
burrow: &mut Burrow,
kind: usize,
iter: impl Iterator<Item = usize>,
) -> bool
Expand description
Starting from a burrow of a specific kind, searches the hallway and other rooms from either left or right direction, returning all amphipods of that kind to the burrow. Stops searching immediately if blocked.