GE HealthCare interview question

completely based on oops and DSA