The quiz consists of 5 sets of questions, each set consisting of 2-7 questions. Each question set starts off with a piece of code, and then you are asked several questions about the codes runtime and memory complexity. Enjoy!
Sir, In question no 10 why the space complexity is O(1) .it should be O(n).
As it will be stored in stack of n spaces?