Homework Solution

Trees

Problems to be Submitted (20 points)

  1. (5 points)

            30
          /    \
       24       40
      /  \        \
    11    26       58
     \             /
      13          48
           

  2. (5 points)

          40
         /  \
       20    50
      / \      \
    10   30     60
           

  3. (5 points)

            40
          /    \
       20       80
      / \      /  \
    10   30   60   90
             / \     \
            50  70    100
           

  4. (5 points)

                  50
               _/    \_
            25          65
          /   \        /  \
       10      40     55   70
      / \     /  \     \
     5   20  30   45    60
             \ 
              35
           


Last modified: Sunday, 06 May 2012