Jar (India) interview question

Questions on time complexity and space complexity for common algorithms.