मराठी

Which sorting technique sorts a given list of elements by repeatedly comparing the adjacent elements and swapping them if they are ordered?

Advertisements
Advertisements

प्रश्न

Which sorting technique sorts a given list of elements by repeatedly comparing the adjacent elements and swapping them if they are ordered?

पर्याय

  • Bubble

  • Insertion

  • Selection

  • Sorting

MCQ
Advertisements

उत्तर

Bubble

Explanation:

Using a series of comparisons between nearby components and swapping them if necessary, the bubble sort algorithm sorts a given list of elements.

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

Englishहिंदीमराठी


      Forgot password?
Use app×