Cardinal Health interview question

Ds related questions and coding