为什么时间复杂度为O(1)pow(x,y)而O(n)为x ** y?
pow(x,y)
x ** y
在这里查看来自agf的 评论
python asymptotic-complexity
asymptotic-complexity ×1
python ×1