मराठी

Which of the following is true for bubble sort of 16, 30, 14, 19?

Advertisements
Advertisements

प्रश्न

Which of the following is true for bubble sort of 16, 30, 14, 19?

पर्याय

  • 16, 30, 14, 19 – 16, 30, 19, 14 – 30, 19, 16, 14

  • 16, 14, 19, 30 – 16, 19, 14, 30 – 19, 16, 14, 30

  • 30, 19, 16, 14 – 30, 19, 16, 14 – 30, 19, 16, 14

  • 16, 14, 30, 19 – 16, 14, 19, 30 – 14, 16, 19, 30

MCQ
Advertisements

उत्तर

16, 14, 30, 19 – 16, 14, 19, 30 – 14, 16, 19, 30

Explanation:

16, 14, 30, 19 – 16, 14, 19, 30 – 14, 16, 19, 30 displays bubble sort in ascending order.

shaalaa.com
Bubble Sort in Python
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×