Skip to main content

simulate

Function simulate 

Source
fn simulate(input: &[u8]) -> impl Iterator<Item = usize>
Expand description

Returns an endless iterator of the tower’s height after each rock comes to rest.