Career Tracks
Exams
MCQ
Companies
Opportunities
Pricing
MCQ Practice
Programming
Time & Space Complexity
Question
Easy
tcs-nqt
What is the time complexity of the following code? for(i=0; i<n; i++) for(j=0; j<n; j++) print(i+j);
A
O(n)
B
O(n log n)
C
O(n²)
D
O(2n)
Show Answer
← Back to Time & Space Complexity questions