Algorithm Space and Time Complexity Rev1.1 : Sheet1