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 10684Post New Qatar University Interview Questions
Do I need a web server if I have a websphere application server?
what do u mean by arrear basic or arrear hra?
Explain the addresses which are bit addressable?
What is the difference between session and sessionfactory in hibernate?
How can you differentiate between inheritance and implementation in c++?
What is primary and backup protection?
3. What are the disadvantages of your present job, things you do not like about it?
What does the system tray icon look like?
What motivates you to do a good work?
How do you declare an interface in c#?
Where is the math.py (socket.py, regex.py, etc.) Source file?
If offered the job, how long do you plan to stay at Applebees?
Do you know what are pure virtual functions?
Explain how do you deploy your asp.net application?
WHAT ARE PROCESS OF CHECK MANAGEMENT. PLZ BRIEF EXPLAIN WITH STEP BY STEP AND WITH T.CODE. AND WHAT ALL ARE THE CONFIGURATION WE NEED TO DO CHECK MANAGEMENT.