question about code's time complexity

Printable View