Domanda di colloquio di Goldman Sachs

he asked me to write the syntax for the trigger