Given $n$ numbers, we want to find the maximum. In order to find the maximum in a minimal amount of comparisons, we define a binary tree s.t. we compare $n'_1=\max(n_1,n_2)$, $n'_2=\max(n_3,n_4)$; $n''_1=\max(n'_1,n'_2)$ and so on.
How many maximum comparisons are needed to find the maximum of those $n$ numbers?
When drawing and trying out on paper, I came up with $n-1$ comparisons, but I'm not able to prove this. Any ideas? It's more or less easy to see if $n$ is divsible by 2.