HashedIn by Deloitte Interview Question

5 questions from Time and Space complexity of an algorithm(program)