हिंदी

What will be the number of passes needed to sort a list of five elements? -

Advertisements
Advertisements

प्रश्न

What will be the number of passes needed to sort a list of five elements?

विकल्प

  • 5

  • 6

  • 7

  • 8

MCQ

उत्तर

5

Explanation:

If the total number of elements in the list is 6, then the insertion sort would require 6 – 1 = 5 passes.

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

Englishहिंदीमराठी


      Forgot password?
Use app×