time complexity of sorting algorithms count operation code example Example: count is inplace or not counting sort is not an in-place algorithm