Deutsche Bank interview question

Proeject bassics question, one dsa