Phreesia interview question

Situation based mostly and DSA