12459 - Bees ancestors


Difficulty : easy

Solution Description :

Fibonacci number problem

           Willy
             |
             M        ------- Generation 1 (1)
            / \
           F   M      ------- Generation 2 (2)
          /   / \ 
         M   F   M    ------- Generation 3 (3)
        / \  |  / \
       M   F M F   M  ------- Generation 4 (5)
and so on.......
[Note: here F represent Father and M represent Mother]