public int countUnivalSubtrees(Node root) {
        countUnivalSubtreesUtil(root, 0);
        return count;
    }
Date 10/07/2016
@author Tushar Roy

Given a binary tree, count the number of uni-value subtrees.
A Uni-value subtree means all nodes of the subtree have the same value.

https://leetcode.com/problems/count-univalue-subtrees/
src/com/interview/tree/CountUnivalueTree.java