Intuit Interview Question

Questions about time complexities were asked after solving DSA Ques