Goldman Sachs Interview Question

Maybe the behavior part