#! /bin/python

array = [...]
#split array into pairs of consecutive elements

#sort array into local minimums and maximums (n/2 comparisons)

a6105ac11dcc0f2f89d21336b234d3eb39c35bc3
<mask token>

array = [...]

#! /bin/python

array = [...]
#split array into pairs of consecutive elements

#sort array into local minimums and maximums (n/2 comparisons)
