Dec-28-2020, 02:42 PM
There are lots of sorting algorithms. Insertion sort is probably the easiest to understand. It is much like sorting cards as you pick them up one by one and place them in order in your playing hand. Bubble sort is also pretty easy to understand. These sorts are not very efficient. The more efficient sorts are also a bit abstract and not intuitively obvious at first glance. Well known sorts like Quick Sort and Heap Sort fall in this category.
You can find examples of all these sorts online. Many with fancy graphics to help demonstrate how the sort works.
You can find examples of all these sorts online. Many with fancy graphics to help demonstrate how the sort works.