Pergunta de entrevista da empresa Owler

A binary tree is symmetric about the root node.Write a function to check symmetry.