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 10703What 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?
2036Can we display only integers / numbers through the message box? Is there any constraint to do so?
8 14624what 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 17012How do you test pop up with LR? My whole application running on pop up. Its a JSP page written on pop up window.
1 7528Post New Infosys Interview Questions
What is difference between inner join and full join?
in companies what is the use of websphere?
What are the uses of maven plugins?
How long could be the maintenance phase in RPA?
How does sap know that an operation has components as indicated by the component allocation indicator?
What is syntax nlp terminology?
What are the ways to avoid lazyinitializationexception?
Does chkdsk work on ssd?
How do make one system dedicated to one user. How do to restrict the user login to the system.
What are multidimensional arrays?
What is type_scroll_insensitive in java?
cd home to get back to your home-directory. State Whether True or False?
in what type of applications v can use q meter?
What classes should I not add to module's declarations?
What is the use of static in c#?