CME Group Interview Question

Basic Time Complexity and DSA questions.