Goldman Sachs interview question

DSA medium question DP / GRAPHS