Goldman Sachs interview question

Easy and medium leetcode questions. Concepts involved included stack, array, two pointers, backtracking and string.