What time complexity is this nested loop with multiplication?

前端 未结 0 771
死守一世寂寞
死守一世寂寞 2020-11-21 09:48

educative.io think that this is log2(n!) because var increases for each value of n.

HOWEVER. Me and my associate think that because var is always < n there is no w

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