Worst-case complexity of this function?

Printable View