I have written an algorithm where the 2 input arguments are a file and a list of values. I would like to say the algorithm complexity is:
O(max{n,m}) where n is the size of the file and m is the length of the list
But maybe I'm mixing apples and oranges here. What is the correct way to write or express this?