minimize the runtime or the performance time of a code -
i wondering how can minimize runtime of following code
int j = 0; while (j < n) { int = 0; while (i < m) { cout << i*j; i++; } j++; }
there's not do, these mere loops. however, more efficient accumulate strings , print @ end printing tiny strings several times.
Comments
Post a Comment