$\binom{4}{3}$ * 2 * 1 = 8.
Root will be 5. The left subtree will be having 3 elements and 1 element in the right subtree. The no. of ways choosing 3 elements among the 4 elements is $\binom{4}{3}$. With 3 elements we will be having 2 max heap.
https://gateoverflow.in/91131/max-heap
@mini panda, Yes there is a recurrence relation on the no. of min/max heap with distinct N keys.
See here.
https://www.quora.com/How-many-Binary-heaps-can-be-made-from-N-distinct-elements
https://gateoverflow.in/102171/min-heap
64.3k questions
77.9k answers
244k comments
80.0k users