हिंदी

Bubble sort and selection sort are in place sorting algorithm. This means that: -

Advertisements
Advertisements

प्रश्न

Bubble sort and selection sort are in place sorting algorithm. This means that:

विकल्प

  • The input is already sorted

  • Requires O(1) memory to create auxiliary location

  • Requires additional storage

  • All of the these

MCQ

उत्तर

Requires O(1) memory to create auxiliary location

Explanation:

In place sorting algorithms include bubble sort and selection sort. This means that creating an auxiliary location requires O(1) memory.

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

Englishहिंदीमराठी


      Forgot password?
Use app×