How to evaluate complexity of finding subsets of supersets of subsets?

前端 未结 0 935
-上瘾入骨i
-上瘾入骨i 2020-12-01 01:44

I need to go through subsets of supersets of subsets. What is the complexity? I know that it is O(5^n-3^n), but why?

`
for (int a = 0; a < (1 << n) ; +

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