Tagged Questions
2
votes
1answer
422 views
What is the Big-O time complexity of this algorithm [closed]
I was wondering what the run time of this small program would be?
#include <stdio.h>
int main(int argc, char* argv[]) {
int i;
int j;
int inputSize;
int sum = 0;
if(argc == 1)
inputSize ...