मराठी

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×