Meta Interview Question

Time/Space complexity of a function