LC 965. Univalued Binary Tree

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.

 

 

太简单了,签到题。

posted @ 2018-12-30 17:10  yuxihong  阅读(91)  评论(0编辑  收藏  举报