State Street interview question

Dsa, oops, Basic Programming Questions