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