in-place order reversal code (Python)
How would I write in a mathematical expression where n is the size of the input?
Would this be O(N)? How do you determine by line if its O(1),O(N),O(N^2) etc?
How can I add a class to this code?