how to find the kth smallest element in the given list of
array elemnts.
Answer Posted / sunil
This is a problem of "Order statistics". A good link describing all possible solutions along with code and output is at below link.
http://www.rawkam.com/?p=870
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
define string ?
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 maximum number of concurrent threads that the InnoDB plug-in can create.
What is a pragma?
Why c language?
Explain pointer. What are function pointers in C?
Why c is called free form language?
Is there a way to jump out of a function or functions?
What does p mean in physics?
Where static variables are stored in c?
code for find determinent of amatrix
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
List a few unconditional control statement in c.
What is s or c?
Describe the header file and its usage in c programming?