TomoLink
Easytcs-nqt

What is the time complexity of the code below? int sum = 0; for(int i=0; i<n; i++) sum += i; return sum;

What is the time complexity of the code below? int sum = 0; for(int i=0; i<n; i++) sum += i; return sum; | Time & Space Complexity MCQ | TomoLink | TomoLink