what is the difference between O(nk) and O(n+k) in time complexity?

后端 未结 5 1126
北荒
北荒 2021-01-01 03:14

In big O notation of time complexity in algorithmic analysis, when an algorithm depends on n and k, what is the difference between these two notations. Also pls help in the

5条回答
提交回复
热议问题