Bubble Sort Hackerrank & Sorting with Python3
Given an array of integers, sort the array in ascending order using the Bubble Sort algorithm above
Complete the function countSwaps in the editor below.
countSwaps has the following parameter(s):
- int a[n]: an array of integers to sort
Print the three lines required, then return. No return value is expected.