Union Bank interview question

Questions about background