LeetCode

Brick Wall

Click here for an explanation.