Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
In each bubble sort iteration (in ascending order) :
Adjacent elements are compared and swapped if necessary to place the smallest element at the end of the list.
Adjacent elements are compared and swapped if necessary to place the largest element at the end of the list.
Non-adjacent elements are compared and swapped if necessary to place the smallest element in its correct position.
Non-adjacent elements are compared and swapped if necessary to place the largest element in its correct position.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!