The list method reverse reverses the elements in the list. Define a function named reverse that reverses the elements in its list argument (without using the inbuilt reverse() list method).
Try to make this function as efficient as possible, and state its computational complexity using big-O notation.
The list method reverse reverses the elements in the list. Define a function named reverse that reverses the elements in its list argument (without using the inbuilt reverse() list method).
Try to make this function as efficient as possible, and state its computational complexity using big-O notation.