Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Qatar University Interview Questions
Questions Answers Views Company eMail

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 8968

Post New Qatar University Interview Questions




Un-Answered Questions

Which interface treemap implements?

550


explain the process of deduplication in object server?

443


Which are the new data types introduced in sql server 2008?

501


Is outlook free on windows 10?

1


Explain localization?

503






Is Pig script case sensitive?

315


can any one tell me about dot net framework not basic detail

1391


How do I count duplicates in sql?

537


What is sqldatareader in ado.net?

495


What is the difference between sealed class and dynamic classes in flex?

5


What does mysql flush hosts do?

468


What is the difference between a column break and a page break?

286


what is the soil bearing capacity for a 5 floor multistorey residential building and which type of soil ? what is plinth beam? in wall load calculation center to center column distance is considered or not/

1806


How to represent ENUMs and SETs internally?

629


Tell me what is goal in google analytics?

81