BNY interview question

Tech question on the project worked