Is this big O notation correct for this c++ code?

前端 未结 0 1365
借酒劲吻你
借酒劲吻你 2020-11-30 08:59

currently I have best case as o(n), worst case as o(n). I am unsure if this is correct for the following code segment and I would really appreciate if someone could confirm

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