Wondering what is the worst case running time?

前端 未结 0 1690
广开言路
广开言路 2021-01-22 10:04

Please help me finding the complexity of following code:

public void f1(int n){
    if(n<=0){
      return;   
   }
  for(int i=0; i

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