मराठी

How many swaps required to swap [60, 41, 20, 7] using selection sort? -

Advertisements
Advertisements

प्रश्न

How many swaps required to swap [60, 41, 20, 7] using selection sort?

पर्याय

  • 2

  • 7

  • 5

  • 4

MCQ

उत्तर

2

Explanation:

There are two swaps for choosing sort: 63, 42, 21, 9

1st swap: 9, 42, 21, 63

2nd swap: 9, 21, 42, 63

shaalaa.com
Selection Sort
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×