GE HealthCare interview question

Data Structure, calculate Complexity, CPP Basics