Building a heap from an array: why can it be O(n), not O(n log n)? | LetsGit.IT