Pergunta de entrevista da empresa Goldman Sachs

Coderpad: 1 LC easy and 1 LC medium question. Few behavioral questions.