What is the time complexity T(n) of the following program? a) int n, d, i, j; cin >> n; for (d=1; d<=n; d++) for (i=1; i<=d; i++) for (j=1; j<=n; j += n/10) cout << d << " " << i << " " << j << endl; b) void main() { int n, s, t; cin >> n; for (s = 1; s <= n/4; s++) {t = s; while (t >= 1) { cout << s << " " << t << endl; t--; } } } c) void main() { int n, r, s, t; cin >> n; for (r = 2; r <= n; r = r * 2) for (s = 1; s <= n/4; s++) { t = s; while (t >= 1) { cout << s << " " << t << endl; t--; } } }
3 10744if u take one worst program,in this program user write the logic is session method.in that program user can get some errors ,that errors we will see in call transaction method,how it is possible.?
2141I wish to know the total procudure tht we follow for suppot project. i.e how we get the tickets and how we will send back to the client and the tool we use . ? and whts mainlly difference between 4.7 eee and 6.0 ecc and wht does ecc mean.?
3 14156Post New IBM Interview Questions
What are wrapped classes in java programming?
How to get the number of rows selected or affected by a sql statement?
What is "method/1"?
How to use regular expressions in selenium?
How do you remove duplicates in word?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
Define managed code?
What is sql partition function?
What fonts can I use in css?
What is explicit casting?
what is the key difference between while loops and do while loops? : Adobe flash
What is style sheet with example?
What is the 'named constructor idiom'?
Why there are two “destroy” events associated with the termination of scope in angularjs?
How one call ddl statement using stored procedures in oracle?