下面这段程序的时间复杂度为平方阶 。
def func(n): for i in range(n): for j in range(n): print(i, j)
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。