4 ms·
> "This function does merge sort." This is not the most common type of contract in APIs. More like "this function sorts", or perhaps "this function sorts in O(
by FartyMcFarter 6y ago
> "This function does merge sort."
This is not the most common type of contract in APIs. More like "this function sorts", or perhaps "this function sorts in O(N*log N) time". Sorting can be done with many different algorithms.