@vijay
@sudsho
Yes, what if 100 elements ?
https://www.quora.com/How-many-Binary-heaps-can-be-made-from-N-distinct-elements
This shows some generalization but I have never applied it. Should we try ?
This is through Brute Force... Is there any formula?
Gatecse
Visit exam center at your own risk ...