✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What is the time complexity of this function?
void printValues(int N) {
int totalIterations = (N >200) ? 200: N;
for(int i = 0; i < totalIterations; i++)
cout << i << endl;
}