Given a binary tree whose nodes are colored with either red, blue or green. Find the no. of clumps that are present in the binary tree.
NOTE:
A clump is defined as a sub-tree whose nodes have the same color.
NOTE:
A clump is defined as a sub-tree whose nodes have the same color.