Although bubble sort and select sort are both O(n^2), is one more efficient than the other?
Yes. Bubble sort is O(n^2) while select sort is O(n^2/2). In other words, select sort is twice as efficient as bubble sort. This is important to recognize because it asserts the importance of optimizing algorithms within the same Big O class
What is an in-place sorting algorithm?
An in-place sorting algorithm is an algorithm that sorts data without creating any new data structures
What is the difference between a stable and unstable sorting algorithm?
A stable algorithm maintains the order of elements that have the same value. An unstable algorithm does not maintain the order of elements that have the same value