What kind of sorting is this?
SORT (k,n)
1.[Loop on I Index]
repeat thru step2 for i=1,2,........n-1
2.[For each pass,get small value]
min=i;
repeat for j=i+1 to N do
{
if K[j]<k[min]
min=j;
}
temp=K[i];K[i]=K[min];K[min]=temp;
3.[Sorted Values will be returned]
A)Bubble Sort
B)Quick Sort
C)Selection Sort
D)Merge Sort
Answers were Sorted based on User's Feedback
How to add two numbers without using semicolon n c????
What are loops c?
a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'
what is the difference between. system call and library function?
who is the editor of 'pokemon'?
Why pointers are used?
Write a program to print all permutations of a given string.
how to go with this?
How can I increase the allowable number of simultaneously open files?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is the difference between test design and test case design?
How does placing some code lines between the comment symbol help in debugging the code?