Goldman Sachs interview question

top student socre pronlems in leetcode