Goldman Sachs Interview Question

They have asked a behavioral question in the second round where i was asked to code in coderpad.