Big Big O (II)

1
2
3
4
5
6
7
8
9
for (int index=0; index<100; i++){
    cout<<Arr[index]<<" ";
}
cout<<endl;
int sum=0
for (int index=0; index<100; i++){
    sum+=Arr[index];
}
cout<<sum<<endl;

The C++ code given above runs in \(\text{__________} \).


This problem is a part of the set: Efficient Algorithms.
×

Problem Loading...

Note Loading...

Set Loading...