Pergunta de entrevista da empresa Trilogy Innovations

Debug a code of zigzag traversal of a binary tree.