Prove it for the cases where N is one less than a power of two.
Then, as you add new elements across the new bottom row, find a pattern into how much each individual element contributes to the total possible number of comparisons.
Reputation Points: 1135
Solved Threads: 173
Super Senior Demiposter
Offline 2,480 posts
since Jun 2005