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 10572What are all the points to keep in consideration, while we are migrating the Universes,Reports from BO5.1.6 to BO 6.5? Is is compatible to migrate like this? Does it effect the filters in Reports and Join in the Universe?
1972Can we display only integers / numbers through the message box? Is there any constraint to do so?
8 14395what could be the problem if invoice_id is same in ap_invoices_all and ap_invoices_interface. while the Ord_id , invoice_num, and other things is diffrent .
3 16833How do you test pop up with LR? My whole application running on pop up. Its a JSP page written on pop up window.
1 7454Post New Infosys Interview Questions
Can you name different kinds of web services?
What is the difference between count and distinct count?
How to gathering the requirement
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
What are the basics of machine learning?
How many years did it take for you to complete school?
How to switch between frames in selenium?
i cannot go to my computer to set up why?
Explain the process of Configuring Queues in Jms?
What is bts? What are its different?
How to add network printer in windows xp?
What is meant by hierarchical Clustering in R?
what is sas application server? : Sas-di
What is the current repo rate?
How Scala supports both Highly Scalable and Highly Performance applications?