Jonathan Speek

{ CS musings & coffee }

A common (but slow and confusing) way of calculating the greatest common divisor is using an iterative algorithm to solve. Something like th [...]


/ Jonathan Speek

Merge Sort

Merge Sort is an algorithm used to sort an array or list that is considered to have a complexity O(n log n). Merge sort takes advantage of a [...]