Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

CTS C++ Code 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 8317

Find the maximum product of three numbers in an array? Eg. 9,5,1,2,3 Max product= 9*5*3= 135 The array can hav negative numbers also..

7 20578

Post New CTS C++ Code Interview Questions


CTS C++ Code Interview Questions


Un-Answered Questions

What are the effects methods used in jquery?

303


What is the architecture of hibernate?

120


What is security assertion markup language?

115


In a comparison of the bi tools qlikview and microsoft power bi, which one of the two would you prefer and why?

3


Which one will you decide for an undertaking – Hadoop MapReduce or Apache Spark?

252






What is uefi boot mode?

313


What are visual secret sharing schemes?

329


How main method is called in c#?

327


What is the role of the rpa developer?

1


What is the technical difference between On delay timer and a Star delta timer?

769


What is the difference between primary key and candidate key?

353


What is counters and related with usage products?

1085


What are the things to be considered while creating secondary index?

449


Spider cracks occur in beam bottom due to––

1474


Define sql loader ?

358