Meta interview question

Time/Space complexity of a function