Given 1 to n random number, find top 10 maximum numbers and
explain the time complexity of the algorithm.
Answer Posted / sreejesh1987
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how to take time as input in the format (12:02:13) from user so that controls remains between these columns?
Write a simple encryption program using string function which apply the substitution method.
write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
write a program that creates a sequenced array of numbers starting with 1 and alternately add 1 and then 2 to create the text number in the series , as shown below. 1,33,4,6,7,9,............147,148,150 Then , using a binary search , searches the array 100 times using randomly generated targets in the range of 1 to 150
write a program using 2 D that searches a number and display the number of items 12 inputs values input 15,20, 13, 30, 38, 40,16, 18, 20 ,18 ,20 enter no. to search : 20
find level of following tree (state, parent) " J,D I,D H,C E,B F,B G,C B,A D,A C,A A,& K,E L,E L,F M,F N,G O,H P,I P,H Q,I R,J S,K U,P T,L
i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.
what mean void creat_object?in public class in this code class A{ public: int x; A(){ cout << endl<< "Constructor A";} ~A(){ cout << endl<< "Destructor A, x is\t"<< x;} }; void create_object(); void main() { A a; a.x=10; { A c; c.x=20; } create_object(); } void create_object() { A b; b.x=30; }
Performance Algorithm A performs 10n2 basic operations and algorithm B performs 300 lg n basic operations. For what value of n does algorithm B start to show its better performance?
write a program that reverses the input number of n.Formulate an equation to come up with the answer.
How can I Draw an ellipse in 3d space and color it by using graph3d?
Given a table of the form: Product Sold on A 1/1/1980 B 1/1/1980 C 1/1/1980 A 1/1/1980 B 1/1/1980 C 2/1/1980 A 2/1/1980 There are 30 products and 10,000 records of such type. Also the month period during which sales happened is given to u. Write the program to display the result as: Product Month No. of copies A January 12 A February 15 A March 27 B January 54 B February 15 B March 10 C January 37
write a program that can LOCATE and INSERT elements in array using c++ programming languages.
write a program using virtual function to find the transposing of a square matrix?