Time complexity of a computer program