A binary tree is univalued if every node in the tree has the same value.

Return true if and only if the given tree is univalued.

 

 

太简单了,签到题。

相关文章: