Medline Industries interview question

internert working for some user scenario