6. (4 points) (Counting Different Heaps) (a) How many possible different min-heaps are there when the set of keys is {1,2,3} ? (b) Let Nk denote the number of possible min-heaps when the set of keys is {1,2,3,2k1} (i.e. the heap tree is a complete binary tree with 2k1 nodes). Derive a recurrence for Nk..
6. (4 points) (Counting Different Heaps) (a) How many possible different min-heaps are there when the set of keys is {1,2,3} ? (b) Let Nk denote the number of possible min-heaps when the set of keys is {1,2,3,2k1} (i.e. the heap tree is a complete binary tree with 2k1 nodes). Derive a recurrence for Nk..