Nasdaq interview question

Client facing problem and Solution