Pergunta de entrevista da empresa LinkedIn

Q. Print all level or binary tree line by line Follow up: reverse every other line.