Power Algorithm Complexity Examples