JIGYASA

An online placement forum.


You are not connected. Please login or register

No. of clumps

Go down  Message [Page 1 of 1]

1 No. of clumps on Fri Oct 14, 2011 2:21 pm

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.

View user profile

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum