Varian Medical Systems interview question

Data Structures and Algorithms + OOPS