SelfEmployed.com Interview Question

Asked about DSA time and space complexity