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
What does %d do?
What is a union?
Do character constants represent numerical values?
What is spaghetti programming?
What is operator promotion?
What is %s and %d in c?
What is the importance of c in your views?
Why is extern used in c?
Explain how can you tell whether two strings are the same?
What are the applications of c language?
What is f'n in math?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Is there a built-in function in C that can be used for sorting data?
What are the different file extensions involved when programming in C?
What is a wrapper function in c?