हिंदी

How many swaps does selection sort perform in worst case? -

Advertisements
Advertisements

प्रश्न

How many swaps does selection sort perform in worst case?

विकल्प

  • N - 1

  • N*(N - 1)/2

  • N!

  • N2

MCQ

उत्तर

N - 1

shaalaa.com
Selection Sort
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×