Apolis interview question

Explain the Algorithm Complexity.