English

How many for loops does selection sort use? -

Advertisements
Advertisements

Question

How many for loops does selection sort use?

Options

  • 2 nested

  • One

  • Three nested

  • 2 independent

MCQ

Solution

2 nested

Explanation:

Two nested loops are used in selection sort.

shaalaa.com
Selection Sort
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×