Zoom Communications interview question

Solve a Tetris like leetcode problem dealing with matrix