CME Group interview question

Mostly based on Oops and DSA concepts