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 10751What 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?
2046Can we display only integers / numbers through the message box? Is there any constraint to do so?
8 14725what 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 17069How do you test pop up with LR? My whole application running on pop up. Its a JSP page written on pop up window.
1 7547Post New Infosys Interview Questions
Can I view the queues on a per server basis?
Why frame of the motor is specified?. If we mention KW and voltage level,automatically frame is decided or separately frame is compulsory to mention?.
How to create an array in php?
Explain Hadoop streaming?
What is the php function that removes the first element of the array and returns it?
what is the difference between rpa and qpa?
What is .dbml file?
What is LOM and how do you access it?
What is year dependent fiscal year variant?
How can you create employees at the database in Siebel?
What are the parameters of water ( Water quality )to be monitored in Centralised HVAC ( water cooler chillers )
What is smoothing operations?
What is normalization in dbms?
Some application not accessing, so what is the problem? This information which log file contains?
What is the communication channel between client and namenode/datanode?