Pergunta de entrevista da empresa Meta

Print out a binary tree level by level. (Denote the end of each level.)