Learn Bubble Sort in 7 minutes

7 Views
Published
Data structures and algorithms bubble sort tutorial example explained

#bubble #sort #algorithm

// bubble sort = pairs of adjacent elements are compared, and the elements
// swapped if they are not in order.

// Quadratic time O(n^2)
// small data set = okay-ish
// large data set = BAD (plz don't)

music credits
Category
Bro Code
Tags
Bubble Sort, bubble sort algorithm, bubble sorting
Be the first to comment