给定如下Python代码片段:
def calculate_count(n): count = 0 for i in range(n): for j in range(n): count += 1 return count
O(n)
O(n²)
O(logn)
O(1)