Goldman Sachs interview question

Behavioral question + progamming/database concept