In selection sort of n elements,how many times is the swp function called in the complete execution of the algorithm?

Question:
In selection sort of n elements,how many times is the swp function called in the complete execution of the algorithm?

1.1

2. n-1

3.n(n-1)/2

4.none of these

Posted Date:-2022-07-06 05:36:53


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!