r/shittyprogramming • • Apr 11 '19
Sumsort
Time complexity: O(n)
Space complexity: O(1)
Description: Calculate and return the sum of the list. This value is sorted. Done.
11
Upvotes
r/shittyprogramming • • Apr 11 '19
Time complexity: O(n)
Space complexity: O(1)
Description: Calculate and return the sum of the list. This value is sorted. Done.
View all comments
Show parent comment
4
u/[deleted] Apr 11 '19
Its not?! That was never in the post. Never.