INS - maccergit/Rosalind GitHub Wiki

Sorting is a heavily researched area of computer science. Here, we are investigating the performance of a particularly simple sort (insertion sort). The algorithm is provided, and we only have to add a counter at the "SWAP" line and show the results. This proves to be a fairly easy thing to do - and Python provides the simple "a, b = b, a" to swap values.