O(n^2) vs O (n(logn)^2)

后端 未结 6 2217
悲哀的现实
悲哀的现实 2021-02-01 23:18

Is time complexity O(n^2) or O (n(logn)^2) better?

I know that when we simplify it, it becomes

O(n) vs O((logn)^2)
6条回答
提交回复
热议问题