हिंदी

Consider a list of 10 elements: numList = [7, 11, 3, 10, 17, 23, 1, 4, 21, 5]. Display the partially sorted list after three complete passes of Bubble sort. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Consider a list of 10 elements:

numList = [7, 11, 3, 10, 17, 23, 1, 4, 21, 5].

Display the partially sorted list after three complete passes of Bubble sort.

एक पंक्ति में उत्तर

उत्तर

Partially sorted list after three complete passes of Bubble sort is [3, 7, 10, 1, 4, 11, 5, 17, 21, 23].

shaalaa.com
Bubble Sort
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: Sorting - Exercise [पृष्ठ ७९]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 12
अध्याय 5 Sorting
Exercise | Q 1. | पृष्ठ ७९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×