• 2022-06-03
    下面算法的时间复杂度为()。int f(unsigned int n){if(n==0‖n==1)return1;Else return n*f(n-1);}
    A: O(1)
    B: O(n)
    C: O(n2)
    D: O(n!)