how to find the kth smallest element in the given list of
array elemnts.
Answer Posted / jyothi
first the given list must be sorted using any of the
sorting tecniques and then taking the kth element in that
resultent array will give the answer
or
another tecnique is using quick sort it will be easier
and time complexity is also very less.sorry i dont have
enough time to write the program here dontmind
| Is This Answer Correct ? | 25 Yes | 13 No |
Post New Answer View All Answers
How do you print an address?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
What happens if a header file is included twice?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What is a stream water?
What is function what are the types of function?
Why do we use int main?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
Can i use “int” data type to store the value 32768? Why?
What are the keywords in c?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Why structure is used in c?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?