Go Financial interview question

Situational