What's the expected memory / time complexity ? ( O(1) / O(n)?


#1

What’s the expected memory / time complexity ? ( O(1) / O(n) ?


#3

Does that mean you didn’t do recursion as well??