3 ms·
Probably the students do not know about big O notation at this point, but requiring a solution that uses at most O(1) additional space would be enough. Then aga
by gpderetta 7y ago
Probably the students do not know about big O notation at this point, but requiring a solution that uses at most O(1) additional space would be enough. Then again, automatic bignums in python make it hard to evaluate the space complexity.