हिंदी

How would [34, 8, 64, 51, 32, 21] look like after second pass of insertion sort? -

Advertisements
Advertisements

प्रश्न

How would [34, 8, 64, 51, 32, 21] look like after second pass of insertion sort?

विकल्प

  • 34, 8, 64, 51, 32, 21

  • 8, 34, 64, 51, 32, 21

  • 34, 8, 51, 64, 32, 21

  • 34, 8, 64, 51, 21, 32

MCQ

उत्तर

8, 34, 64, 51, 32, 21

Explanation:

Given array: 34, 8, 64, 51, 32, 21

After first pass: 8, 34, 64, 51, 32, 21

After second pass: 8, 34, 64, 51, 32, 21

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

Englishहिंदीमराठी


      Forgot password?
Use app×