Report question

Question: Google Interview: Arrangement of Blocks