In this episode, I will be focusing bubble sort algorithm. This is the simplest sorting algorithm with a worst-case time complexity of O(n^2). I will first explain how the algorithm works with a manual example and then proceed to write the code using C++.