Pregunta de entrevista de SAP

Find longest zigzag path in a given binary tree