हिंदी

What is true for bubble sort? -

Advertisements
Advertisements

प्रश्न

What is true for bubble sort?

विकल्प

  • It can detect if the input is already sorted

  • It saves times

  • It consumes less memory

  • It compares adjacent elements

MCQ

उत्तर

It saves times

Explanation:

Bubble sort is a lengthy algorithm.

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

Englishहिंदीमराठी


      Forgot password?
Use app×