concept each iteration in category algorithms
appears as: each iteration

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
Notice that this method, if the height of the tree is H, requires at most H swaps, because each time we swap two elements, we move one level up in the tree, towards its root.
This result is an important result because, as we will see in section 2.7, since heaps are balanced binary trees, their height is logarithmic in the number of elements.
12.2.2 The Curse of Dimensionality Strikes Again
We have already bumped into the curse of dimensionality when we described k-d trees in chapter 9: a data structure that works well for low-to-medium-dimensional spaces, but behaves poorly in high-dimensional spaces.
1/n * [(n-2)/n]k-1