Rocks are falling from the sky! You get an
arrayof columns: rocks
Simulate rocks’ flight until they hit a platform, another rock or the bottom. Platforms stay put.
mapis an array in the format
maptranslates to the rock at
x: 2, y: 5
returnthe result after all rocks have stopped moving.