We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Al momento de ejecutar este código en una consola de python, se ejecuta sin problemas, pero lamentablemente, acá da errores.
Adjunto código y evidencia del mismo.
def is_trees_synchronized(tree1, tree2): def are_mirrors(tree1, tree2): if tree1 is None and tree2 is None: return True; if tree1 is None or tree2 is None: return False; return tree1.get('value') == tree2.get('value') and \ are_mirrors(tree1.get('left'), tree2.get('right')) and \ are_mirrors(tree1.get('right'), tree2.get('left')) return [are_mirrors(tree1, tree2), tree1.get('value')]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Al momento de ejecutar este código en una consola de python, se ejecuta sin problemas, pero lamentablemente, acá da errores.
Adjunto código y evidencia del mismo.
The text was updated successfully, but these errors were encountered: