Is the running time of a variable assignment always O(1)?

后端 未结 0 1213
野趣味
野趣味 2020-11-27 05:22

If I knew the running time of a function was O(n) and I assigned a variable to the return value like:

x = somefunction(y)

Would the running time b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题