Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
10 lines (6 loc) · 291 Bytes

File metadata and controls

executable file
·
10 lines (6 loc) · 291 Bytes

题目

Given two binary trees, write a function to check if they are equal or not.

Two binary trees are considered equal if they are structurally identical and the nodes have the same value.

解题思路

见程序注释