top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

how to print all the cousins of a node in binary search tree, except second cousins?

0 votes
348 views
how to print all the cousins of a node in binary search tree, except second cousins?
posted Oct 21, 2017 by anonymous
Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Your answer

Preview

Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Similar Questions
+7 votes

Print cousins of a given node (Not sibling) ??

0 votes

Give program time complexity as well as.

+6 votes

Given binary tree is:

        1
     /     \
    2        3
  /  \        \
 4   5         6
             /   \
            7     8

The output should be 1, 2, 3, 4, 5, 6, 7, 8

...