📜  o(n+m) 表示 o(n) - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:11.039000             🧑  作者: Mango

代码示例1
Yes, O(M+N) means the same thing as O(max(M, N)) 
Since (M+N) is a linear function.